From b6d5d7e96608e597ac8f92ed4876ea3334e2c36f Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Tue, 7 Dec 2010 22:04:36 +0200 Subject: [PATCH] Placing Markdown-parsed HTML inside
. This way we can later style the markdown-HTML differently. --- lib/jsduck/doc_formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jsduck/doc_formatter.rb b/lib/jsduck/doc_formatter.rb index eae15997..6640b836 100644 --- a/lib/jsduck/doc_formatter.rb +++ b/lib/jsduck/doc_formatter.rb @@ -53,7 +53,7 @@ module JsDuck # Markdown-formatted text. unless input =~ /<[a-z]/ begin - input = Maruku.new(input, {:on_error => :raise}).to_html + input = "
" + Maruku.new(input, {:on_error => :raise}).to_html + "
" rescue MaRuKu::Exception # When Maruku fails because of Markdown syntax error, assume # the author didn't intend to write doc-comment in Markdown -- GitLab