We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6849253 commit 5c5f636Copy full SHA for 5c5f636
1 file changed
tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php
@@ -235,7 +235,7 @@ public static function parse_html5_dat_testfile( $filename ) {
235
// Only take lines that look like tags
236
// At least 3 chars (< + tag + >)
237
// Tag must start with ascii alphabetic
238
- if ( strlen( $trimmed > 2 ) && '<' === $trimmed[0] && ctype_alpha( $trimmed[1] ) ) {
+ if ( strlen( $trimmed ) > 2 && '<' === $trimmed[0] && ctype_alpha( $trimmed[1] ) ) {
239
$test_dom .= $candidate;
240
}
241
0 commit comments