FIX: error when rebaking posts

This commit is contained in:
Arpit Jalan 2017-09-02 22:22:29 +05:30
parent 300a42cf2c
commit ebbdd4fe0f
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); closeTag = parseBBCodeTag(state.src, j, max);
if (!closeTag || closeTag.tag !== openTag.tag || !closeTag.closing) { if (!closeTag || closeTag.tag !== openTag.tag || !closeTag.closing) {
closeTag = null; closeTag = null;
} } else {
closeTag.start = j; closeTag.start = j;
}
break; break;
} }
} }