Skip to content

Commit 071b845

Browse files
committed
Skip incomplete token tests
1 parent 46102df commit 071b845

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ public static function build_html5_treelike_string( $fragment_context, $html ) {
119119
return null;
120120
}
121121

122+
if ( $p->paused_at_incomplete_token() ) {
123+
return null;
124+
}
125+
122126
return $output;
123127
}
124128

0 commit comments

Comments
 (0)