Skip to content

Commit ba480a5

Browse files
authored
Increase virtual token HTML size
1 parent 17bbca8 commit ba480a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ public function test_deep_nesting_fails_process_without_error() {
11071107
* @expectedIncorrectUsage WP_HTML_Tag_Processor::set_bookmark
11081108
*/
11091109
public function test_deep_nesting_fails_processing_virtual_tokens_without_error() {
1110-
$html = str_repeat( '<table><td>', WP_HTML_Processor::MAX_BOOKMARKS );
1110+
$html = str_repeat( '<table><td>', WP_HTML_Processor::MAX_BOOKMARKS * 2 );
11111111
$processor = WP_HTML_Processor::create_fragment( $html );
11121112

11131113
// The fragment parser starts with a few context tokens already bookmarked.

0 commit comments

Comments
 (0)