Browse Source

Fixed function untagify to remove close tag

pull/529/head
Phoenix Gao 11 years ago
parent
commit
5a638406ac
  1. 4
      source/js/Core/Core/VMM.Util.js

4
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();
}
}

Loading…
Cancel
Save