Make WordPress Core

Opened 8 years ago

#40045 new defect (bug)

HTML code entered using "Text" mode gets garbled

Reported by: s0what's profile s0what Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.2
Component: Formatting Keywords:
Focuses: Cc:

Description

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!&#8221; title=&#8221;Some title&#8221;></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".

Attachments (1)

Test Post Text Editor Mode.png (61.4 KB) - added by lukecavanagh 8 years ago.
Test Post

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.