FIX: error when rebaking posts
This commit is contained in:
parent
300a42cf2c
commit
ebbdd4fe0f
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue