Merge pull request #5129 from techAPJ/rebake-patch

FIX: error when rebaking posts
This commit is contained in:
Arpit Jalan 2017-09-02 23:54:19 +05:30 committed by GitHub
commit 21fd8a31a4
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}