19 lines
603 B
Diff
19 lines
603 B
Diff
Last-Update: 2018-03-14
|
|
Forwarded: not-needed
|
|
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890757
|
|
Author: Dmitry Smirnov <onlyjob@debian.org>
|
|
Description: fix markdown rendering.
|
|
|
|
Thanks, Libor Klepáč.
|
|
|
|
--- a/lib/banzai/filter/markdown_filter.rb
|
|
+++ b/lib/banzai/filter/markdown_filter.rb
|
|
@@ -26,7 +26,7 @@
|
|
|
|
def self.renderer
|
|
Thread.current[:banzai_markdown_renderer] ||= begin
|
|
- renderer = Banzai::Renderer::HTML.new
|
|
+ renderer = Redcarpet::Renderer::HTML.new
|
|
Redcarpet::Markdown.new(renderer, REDCARPET_OPTIONS)
|
|
end
|
|
end
|