Browse Source

Merge pull request #529 from phoenixgao/master

Fixed function untagify to remove close tag
pull/631/head
Joe Germuska 11 years ago
parent
commit
96c5b39350
  1. 4
      source/js/Core/Core/VMM.Util.js

4
source/js/Core/Core/VMM.Util.js

@ -292,7 +292,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;
},
@ -481,4 +481,4 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
}
}).init();
}
}

Loading…
Cancel
Save