mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
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
1 changed files with 1 additions and 1 deletions
|
@ -178,8 +178,8 @@ function findInlineCloseTag(state, openTag, start, max) {
|
|||
closeTag = null;
|
||||
} else {
|
||||
closeTag.start = j;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue