[wp-trac] [WordPress Trac] #26286: impossible to have HTML comments inside MAP tag

WordPress Trac noreply at wordpress.org
Fri Jan 17 07:43:45 UTC 2014


#26286: impossible to have HTML comments inside MAP tag
--------------------------+------------------------
 Reporter:  crysman       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:  3.7.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Thanks cyrsman for the bug report and ample test data. I saw three
 problems here:
  * Closing HTML comments were getting munged by wptexturize(). See #8912,
 I posted a patch.
  * Whitespace inside the <map> is rendered because we're auto-adding
 <br/>. Given the nature of maps, it seems like we should be treating a bit
 differently by wpautop(), but this deserves a separate ticket.
  * Your data has an orphaned `-->` in it, near the second map.

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


More information about the wp-trac mailing list