chore: comment initial space (#3192) [skip ci]
fix(typo): Comment add spaces.
This commit is contained in:
parent
dfd31c3636
commit
1cc8712235
@ -924,7 +924,7 @@ function isEnd(
|
|||||||
switch (mode) {
|
switch (mode) {
|
||||||
case TextModes.DATA:
|
case TextModes.DATA:
|
||||||
if (startsWith(s, '</')) {
|
if (startsWith(s, '</')) {
|
||||||
//TODO: probably bad performance
|
// TODO: probably bad performance
|
||||||
for (let i = ancestors.length - 1; i >= 0; --i) {
|
for (let i = ancestors.length - 1; i >= 0; --i) {
|
||||||
if (startsWithEndTagOpen(s, ancestors[i].tag)) {
|
if (startsWithEndTagOpen(s, ancestors[i].tag)) {
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user