Merge pull request #5133 from guoyunhe/patch-1
bbcode find close tag loop end condition
This commit is contained in:
commit
a9737e2813
|
@ -178,11 +178,11 @@ function findInlineCloseTag(state, openTag, start, max) {
|
||||||
closeTag = null;
|
closeTag = null;
|
||||||
} else {
|
} else {
|
||||||
closeTag.start = j;
|
closeTag.start = j;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return closeTag;
|
return closeTag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue