[wp-trac] [WordPress Trac] #40045: HTML code entered using "Text" mode gets garbled

WordPress Trac noreply at wordpress.org
Mon Mar 6 14:44:11 UTC 2017


#40045: HTML code entered using "Text" mode gets garbled
--------------------------+-----------------------------
 Reporter:  s0what        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  4.7.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Entered this:
 {{{
  <area shape="poly" coords="77,57,276" data-content="<a
 href=//google.com>link</a> some other content. Be careful with using the
 right quotes here!" title="Some title">
 }}}
 converted to this:
 {{{
 <area shape="poly" coords="77,57,276" data-content="<a
 href=//google.com>link</a> some other content. Be careful with using the
 right quotes here!” title=”Some title”></p>
 }}}



 Is it really so difficult to leave the content of the "Text" mode as it
 is?

 Just to remind you, that W3C says "attributes on HTML elements may have
 any string value".

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


More information about the wp-trac mailing list