diff --git a/debian/patches/895871-markdown.patch b/debian/patches/895871-markdown.patch new file mode 100644 index 0000000000..190736718d --- /dev/null +++ b/debian/patches/895871-markdown.patch @@ -0,0 +1,20 @@ +Last-Update: 2018-04-17 +Forwarded: [TODO] +Bug-Debian: https://bugs.debian.org/895871 +Bug-Upstream: [TODO] +Author: Dmitry Smirnov +Description: fix markdown rendering. + +--- a/lib/banzai/renderer/redcarpet/html.rb ++++ b/lib/banzai/renderer/redcarpet/html.rb +@@ -5,9 +5,9 @@ + def block_code(code, lang) + lang_attr = lang ? %Q{ lang="#{lang}"} : '' + + "\n
" \
+-            "#{html_escape(code)}" \
++            "#{ERB::Util.html_escape(code)}" \
+           "
" + end + end + end diff --git a/debian/patches/series b/debian/patches/series index 04cc24eb06..07d1679d1a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +895871-markdown.patch 0050-relax-stable-libs.patch 0100-remove-development-test.patch 0108-make-mysql-optional.patch