From f9e3cf21f926749a09fa101ea572d26dab303ad2 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 7 May 2013 16:45:06 +0200 Subject: [PATCH] Provide backwards-compatibility for change in #1037. --- lib/jekyll/converters/markdown/redcarpet_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/converters/markdown/redcarpet_parser.rb b/lib/jekyll/converters/markdown/redcarpet_parser.rb index ce4a303d..b7a25c46 100644 --- a/lib/jekyll/converters/markdown/redcarpet_parser.rb +++ b/lib/jekyll/converters/markdown/redcarpet_parser.rb @@ -19,7 +19,7 @@ module Jekyll end def add_code_tags(code, lang) - code = code.sub(/
/,'
')
+              code = code.sub(/
/, "
")
               code = code.sub(/<\/pre>/,"
") end end