Remove redundant logic as per @niothiel's tip
This commit is contained in:
parent
ea946f1a0e
commit
10f30dfa2e
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@
|
||||||
classes.push(match[2])
|
classes.push(match[2])
|
||||||
} else if (match[3][0] === "[") {
|
} else if (match[3][0] === "[") {
|
||||||
var pair = /\[(.+?)(?:=("|'|)(.*?)\2)?\]/.exec(match[3])
|
var pair = /\[(.+?)(?:=("|'|)(.*?)\2)?\]/.exec(match[3])
|
||||||
cell.attrs[pair[1]] = pair[3] || (pair[2] ? "" : "")
|
cell.attrs[pair[1]] = pair[3] || ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue