Skip to content

Commit

Permalink
chore: build dist
Browse files Browse the repository at this point in the history
  • Loading branch information
leizongmin committed May 6, 2021
1 parent 730a0b5 commit cff16d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dist/xss.js
Expand Up @@ -61,7 +61,6 @@ function getDefaultWhiteList() {
small: [],
span: [],
sub: [],
summary: [],
sup: [],
strong: [],
table: ["width", "border", "align", "valign"],
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cff16d9

Please sign in to comment.