Skip to content

Commit

Permalink
Merge pull request #9831 from muppsy007/php74-continue-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Minnée authored Jan 20, 2021
2 parents c877954 + e372e52 commit ef0c503
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsers/HTML/HTMLBBCodeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ public function _validateTagArray()
{
if (trim($tag['text']) == '') {
//just an empty indentation or newline without value?
continue;
//skip this iteration of the foreach loop
continue 2;
}
$newTagArray[] = $child;
$openTags[] = $child['tag'];
Expand Down

0 comments on commit ef0c503

Please sign in to comment.