bbcode find close tag loop end condition
Only break loop when close tag has been found. Otherwise, keep searching until the end of string.
This commit is contained in:
parent
8463b676df
commit
7d29ccf207
|
@ -178,8 +178,8 @@ function findInlineCloseTag(state, openTag, start, max) {
|
|||
closeTag = null;
|
||||
} else {
|
||||
closeTag.start = j;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue