[wp-trac] [WordPress Trac] #17537: TinyMCE mangles <map></map> construct

WordPress Trac wp-trac at lists.automattic.com
Mon May 23 10:30:33 UTC 2011


#17537: TinyMCE mangles <map></map> construct
--------------------------+------------------------------
 Reporter:  vdhamer       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by vdhamer):

 Replying to [comment:3 designsimply]:
 > * Expected result: HTML tag contents to remain in tact.
 > * Actual result: HTML code gets changed to {{{<a name="top"></a>anchor
 text}}}
 I can confirm this. It appears to be related to the Name attribute. The
 bug in this ticket indeed appears due to new line reformatting. So yours
 may be a different bug.

 Arguably {{{<a name="top"></a>anchor text}}} would still serve as a
 reasonable link target and get you to the top of the page. But
 unfortunately {{{<a name="top" href="#bottom">Top</a>}}} reformats to
 {{{<a name="top" href="#bottom"></a>Top}}} which is wrong as a link.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17537#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list