Skip to content

Commit 632e398

Browse files
committed
Remove the additional ( ) correctly
1 parent 65b4bf4 commit 632e398

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Phpbb/TranslationValidator/Validator/LangKeyValidator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public function validateHtml($file, $key, $sourceString, $originString)
695695
}
696696
$failedUnclosed = true;
697697
}
698-
else if ((substr($possibleHtml, -3) !== ' />') && !in_array($tag, $allowedMissingClosingTag))
698+
else if (substr($possibleHtml, -3) !== ' />' && !in_array($tag, $allowedMissingClosingTag))
699699
{
700700
$openTags[] = $tag;
701701
}
@@ -796,7 +796,7 @@ protected function getErrorLevelForAdditionalHtml($html)
796796
'<u>',
797797
'<br />',
798798
'<br>',
799-
'<hr>',
799+
'<hr>'
800800
)))
801801
{
802802
return Output::NOTICE;

0 commit comments

Comments
 (0)