From 59bab3ed47ed9fdcd695f58268c185f07a57bc69 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Wed, 14 Mar 2018 20:53:58 +1100 Subject: [PATCH] Added new patch to fix Markdown rendering (Closes: #890757). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks, Libor Klepáč. --- debian/patches/890757.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 22 insertions(+) create mode 100644 debian/patches/890757.patch diff --git a/debian/patches/890757.patch b/debian/patches/890757.patch new file mode 100644 index 0000000000..788aad6b1f --- /dev/null +++ b/debian/patches/890757.patch @@ -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 +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 + diff --git a/debian/patches/series b/debian/patches/series index 5c70b6854c..fbc3263359 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -21,6 +21,7 @@ pid-log-paths.patch 0370-relax-prof.patch 0410-set-webpack-root.patch 0420-use-system-libs.patch +890757.patch add-system-lib-path-for-webpack.patch remove-bundle-analyzer.patch fix-mail-room-path.patch