59bab3ed47
Thanks, Libor Klepáč.
21 lines
582 B
Diff
21 lines
582 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
|
|
@@ -13,9 +13,9 @@
|
|
end
|
|
|
|
def self.renderer
|
|
@renderer ||= begin
|
|
- renderer = Banzai::Renderer::HTML.new
|
|
+ renderer = Redcarpet::Render::HTML.new
|
|
Redcarpet::Markdown.new(renderer, redcarpet_options)
|
|
end
|
|
end
|
|
|