Skip to content

Commit

Permalink
Fixed code bbcode causing the parser to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dtdesign committed Sep 28, 2016
1 parent adf1a75 commit e466404
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ protected function buildOpeningTag(array $tag) {
*/
protected function buildClosingTag(array $tag) {
$name = strtolower($tag['name']);
if (!$this->isValidBBCodeName($name)) {
if (!$this->isValidBBCodeName($name) || empty($this->openTagIdentifiers)) {
return $tag['source'];
}

Expand Down

0 comments on commit e466404

Please sign in to comment.