X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da51b9328abab2df757ed13eadc7c3557315094b..7898b516dfc7e5e9177753d5bcdfc980dc055308:/doc/zenweb-textile.rb diff --git a/doc/zenweb-textile.rb b/doc/zenweb-textile.rb index bdd716267b..0a4bb6f8c7 100644 --- a/doc/zenweb-textile.rb +++ b/doc/zenweb-textile.rb @@ -10,14 +10,8 @@ module Zenweb ## # Render a page's textile and return the resulting html def render_textile page, content - textile body - end - - ## - # Render textile in +content+ - def textile content require 'RedCloth' - @textile = RedCloth.new(content).to_html + RedCloth.new(content ? content : self.body).to_html end end end