[wp-trac] [WordPress Trac] #64394: HTML Processor may error processing nested HTML structures

WordPress Trac noreply at wordpress.org
Wed Dec 10 16:07:18 UTC 2025


#64394: HTML Processor may error processing nested HTML structures
--------------------------+-----------------------------
 Reporter:  jonsurrell    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTML API      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The HTML Processor (not the Tag Processor) may throw an error when
 processing HTML with very deep (>100 element) nesting:

 {{{#!xml
 <i><!-- …99 <i> tags… --><i>
 }}}

 It will throw `Exception: could not allocate bookmark`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64394>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list