diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown/bbcode-block.js.es6 b/app/assets/javascripts/pretty-text/engines/discourse-markdown/bbcode-block.js.es6 index 8276d2318a8..ddb92eefdb1 100644 --- a/app/assets/javascripts/pretty-text/engines/discourse-markdown/bbcode-block.js.es6 +++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown/bbcode-block.js.es6 @@ -178,8 +178,8 @@ function findInlineCloseTag(state, openTag, start, max) { closeTag = null; } else { closeTag.start = j; + break; } - break; } } }