[wp-trac] [WordPress Trac] #12097: Inserting image captions sometimes results in malformed HTML

WordPress Trac noreply at wordpress.org
Thu Oct 19 17:34:29 UTC 2023


#12097: Inserting image captions sometimes results in malformed HTML
---------------------------------------+----------------------
 Reporter:  essday                     |       Owner:  (none)
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:
Component:  Media                      |     Version:  2.9.1
 Severity:  normal                     |  Resolution:  wontfix
 Keywords:  needs-patch needs-testing  |     Focuses:
---------------------------------------+----------------------
Changes (by joedolson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This is still an issue, but it's specific to the classic editor
 environment. It's a limitation in `wpautop`, and is a pretty well known
 issue in many circumstances. Given that this is not an issue with the
 current editor environment, is fairly easily addressed by adding an
 additional line break in the editor, and has no accessibility consequences
 due to the invalid HTML, I'm resolving this issue a `wontfix`.

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


More information about the wp-trac mailing list