[wp-trac] [WordPress Trac] #27530: Anchor tag wrapped around div tag would add extra paragraph tag

WordPress Trac noreply at wordpress.org
Sat Mar 12 20:03:31 UTC 2016


#27530: Anchor tag wrapped around div tag would add extra paragraph tag
-------------------------------------+------------------------------
 Reporter:  Klikerko                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Editor                   |     Version:  3.8.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+------------------------------

Comment (by donnapep):

 Tested `27530.diff` on Mac using:

 Chrome 48.0.2564.116
 Firefox 45.0
 Safari 9.0.3

 Results in the following HTML:

 {{{
 <div>
   <a href="#">
     <div>testing</div>
   </a>
 </div>
 }}}

 `<p>` tags are no longer being added.

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


More information about the wp-trac mailing list