chore: build dist

This commit is contained in:
Zongmin Lei
2021-05-06 11:29:23 +08:00
parent 730a0b5eae
commit cff16d9ba1
2 changed files with 2 additions and 3 deletions

3
dist/xss.js vendored
View File

@@ -61,7 +61,6 @@ function getDefaultWhiteList() {
small: [],
span: [],
sub: [],
summary: [],
sup: [],
strong: [],
table: ["width", "border", "align", "valign"],
@@ -554,7 +553,7 @@ function parseTag(html, onTag, escapeHtml) {
var i = 1;
var ic = html.charAt(currentPos - i);
while ((ic === " ") || (ic === "=")) {
while ((ic.trim() === "") || (ic === "=")) {
if (ic === "=") {
quoteStart = c;
continue chariterator;