From d5d379a145eb4e18cc3a947be1ab12c6a98d7a37 Mon Sep 17 00:00:00 2001 From: zhangyijun Date: Thu, 14 Feb 2013 12:59:04 +0800 Subject: [PATCH] dirty Fix for github code block --- src/extensions/prettify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/prettify.js b/src/extensions/prettify.js index 4b3a70b..f71675b 100644 --- a/src/extensions/prettify.js +++ b/src/extensions/prettify.js @@ -10,9 +10,9 @@ return [ { type: 'output', filter: function(source){ - return source.replace(/(
)?/gi, function(match, pre) {
+                return source.replace(/()?';
+                        return '
';
                     }