We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83a12d6 commit 3b01f01Copy full SHA for 3b01f01
lib/web/prototype/prototype.js
@@ -643,7 +643,7 @@ Object.extend(String.prototype, (function () {
643
}
644
645
function stripTags() {
646
- return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?(\/)?>|<\/\w+>/gi, '');
+ return this.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>'"])+)?\s*("[^">]*|'[^'>])?(\/)?>|<\/\w+>/gi, '');
647
648
649
function stripScripts() {
0 commit comments