HTML Tag 内的属性间隔支持 \t
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@ lib-cov
|
||||
*.out
|
||||
*.pid
|
||||
*.gz
|
||||
.idea
|
||||
|
||||
pids
|
||||
logs
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user