Merge pull request #9831 from muppsy007/php74-continue-warning

This commit is contained in:
Sam Minnée 2021-01-20 13:40:52 +13:00 committed by GitHub
commit ef0c503ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -502,7 +502,8 @@ class SSHTMLBBCodeParser
{
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'];