Added new patch to fix Markdown rendering (Closes: #890757).
Thanks, Libor Klepáč.
This commit is contained in:
parent
a4c1248499
commit
59bab3ed47
2 changed files with 22 additions and 0 deletions
21
debian/patches/890757.patch
vendored
Normal file
21
debian/patches/890757.patch
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
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
|
||||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -21,6 +21,7 @@ pid-log-paths.patch
|
||||||
0370-relax-prof.patch
|
0370-relax-prof.patch
|
||||||
0410-set-webpack-root.patch
|
0410-set-webpack-root.patch
|
||||||
0420-use-system-libs.patch
|
0420-use-system-libs.patch
|
||||||
|
890757.patch
|
||||||
add-system-lib-path-for-webpack.patch
|
add-system-lib-path-for-webpack.patch
|
||||||
remove-bundle-analyzer.patch
|
remove-bundle-analyzer.patch
|
||||||
fix-mail-room-path.patch
|
fix-mail-room-path.patch
|
||||||
|
|
Loading…
Reference in a new issue