[wp-trac] [WordPress Trac] #45387: Valid HTML get mangled on the frontend

WordPress Trac noreply at wordpress.org
Tue Nov 20 18:12:49 UTC 2018


#45387: Valid HTML get mangled on the frontend
--------------------------+-----------------------------
 Reporter:  youknowriad   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Open the HTML editor, paste this HTML code


 {{{
 <p>To make this thing happen, go to Pages <a href="http://google.com/"
 target="_blank" rel="noreferrer noopener" aria-label="This is > an aria
 label">http://google.com</a></p>
 }}}


 And preview the post in frontend.

 The HTML is a big mangled in the output, the link don't show up properly.

 I suspect that it's related to one of `the_content` filters.

 Reproduced in 4.9.8

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


More information about the wp-trac mailing list