[wp-trac] [WordPress Trac] #37814: wpautop losing closing </pre> tags if doubled

WordPress Trac noreply at wordpress.org
Mon Jul 1 06:49:55 UTC 2019


#37814: wpautop losing closing </pre> tags if doubled
-------------------------------+----------------------
 Reporter:  andyimatest        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Formatting         |     Version:  4.6
 Severity:  normal             |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by pento):

 * keywords:  close reporter-feedback => reporter-feedback
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 A `<pre>` within a `<pre>` tag is invalid HTML, so `wpautop()` doesn't
 attempt to support it.

 I'd be happy to consider a patch for this that doesn't cause significantly
 increased complexity to `wpautop()` (if someone uploads such a patch, we
 can re-open this ticket), but otherwise, I'm going to close this ticket as
 something we're not able to support.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37814#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list