Slash doesn't escaped
Caused problems during uglify minification
This commit is contained in:
parent
ae4b24a7e8
commit
78312ce33f
@ -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]];
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user