From 5a638406acd1c1d969a8271217d0448f01686113 Mon Sep 17 00:00:00 2001 From: Phoenix Gao Date: Thu, 21 Nov 2013 14:16:55 +0800 Subject: [PATCH] Fixed function untagify to remove close tag --- source/js/Core/Core/VMM.Util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/js/Core/Core/VMM.Util.js b/source/js/Core/Core/VMM.Util.js index c0610e5..0b42a69 100644 --- a/source/js/Core/Core/VMM.Util.js +++ b/source/js/Core/Core/VMM.Util.js @@ -286,7 +286,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { if (!text) { return text; } - text = text.replace(/<\s*\w.*?>/g,""); + text = text.replace(/<\/?\s*\w.*?>/g,""); return text; }, @@ -475,4 +475,4 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') { } }).init(); -} \ No newline at end of file +}