1
0
mirror of synced 2024-11-26 23:06:02 +03:00

Slash doesn't escaped

Caused problems during uglify minification
This commit is contained in:
frntz 2013-03-13 08:40:47 +01:00
parent ae4b24a7e8
commit 78312ce33f

View File

@ -2721,7 +2721,7 @@ the specific language governing permissions and limitations under the Apache Lic
"/": '/' "/": '/'
}; };
return String(markup).replace(/[&<>"'/\\]/g, function (match) { return String(markup).replace(/[&<>"'\/\\]/g, function (match) {
return replace_map[match[0]]; return replace_map[match[0]];
}); });
}, },