diff --git a/src/wp-includes/html-api/class-wp-html-processor.php b/src/wp-includes/html-api/class-wp-html-processor.php
index 55f955f2c1a9a..aff627059426c 100644
--- a/src/wp-includes/html-api/class-wp-html-processor.php
+++ b/src/wp-includes/html-api/class-wp-html-processor.php
@@ -148,10 +148,11 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
* so this class constant from the Tag Processor is overwritten.
*
* @since 6.4.0
+ * @since 7.0.0 Increased from 100 to 10,000
*
* @var int
*/
- const MAX_BOOKMARKS = 100;
+ const MAX_BOOKMARKS = 10_000;
/**
* Holds the working state of the parser, including the stack of