From bff20cd96a85c105b51ce5ca4815bdf9efd90f6c Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 30 May 2012 19:21:59 +0200 Subject: [PATCH] in parseMarkdown, don't write empty class for code blocks, and don't encode their content --- source/Ox/js/HTML.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js index a4974b57..654bb6a5 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -380,8 +380,8 @@ .replace( /\n```(.*)\n([^`]+)\n```/g, function(match, a, b) { - return '
'
-                        + Ox.encodeHTMLEntities(b) + '\n
'; + return '
'
+                        + b + '\n
'; } ) .replace(