HTML Tag 内的属性间隔支持 \t

This commit is contained in:
ztree
2017-08-30 10:10:39 +08:00
parent 8c0b78f2af
commit a3982311a9
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -6,6 +6,7 @@ lib-cov
*.out
*.pid
*.gz
.idea
pids
logs

View File

@@ -157,7 +157,7 @@ function parseAttr (html, onAttr) {
}
}
}
if (/\s|\n/.test(c)) {
if (/\s|\n|\t/.test(c)) {
if (tmpName === false) {
j = findNextEqual(html, i);
if (j === -1) {