Merge pull request #5129 from techAPJ/rebake-patch
FIX: error when rebaking posts
This commit is contained in:
commit
21fd8a31a4
|
@ -176,8 +176,9 @@ function findInlineCloseTag(state, openTag, start, max) {
|
|||
closeTag = parseBBCodeTag(state.src, j, max);
|
||||
if (!closeTag || closeTag.tag !== openTag.tag || !closeTag.closing) {
|
||||
closeTag = null;
|
||||
} else {
|
||||
closeTag.start = j;
|
||||
}
|
||||
closeTag.start = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue