From 1eba4e580f1da2fd048af7e952f0956a3a24b881 Mon Sep 17 00:00:00 2001 From: joyqi Date: Mon, 4 Nov 2013 10:37:17 +0800 Subject: [PATCH] fixed #54 --- admin/js/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/js/markdown.js b/admin/js/markdown.js index b091ad7c..a154f1e9 100644 --- a/admin/js/markdown.js +++ b/admin/js/markdown.js @@ -216,7 +216,7 @@ this.makeHtml = function(text) { text = _ExecuteExtension(x, text); }); - text = text.replace(/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|script|noscript|iframe|object|embed)[^>]*>/ig, function (all) { + text = text.replace(/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|noscript)[^>]*>/ig, function (all) { return all.replace(/&/g, '&') .replace(//g, '>')