[wp-trac] [WordPress Trac] #24085: wpautop filter and shortcodes

WordPress Trac noreply at wordpress.org
Mon Apr 15 06:42:48 UTC 2013


#24085: wpautop filter and shortcodes
--------------------------+------------------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by Looimaster):

 Oh, I'm sorry! The correct code:


 {{{
 [shortcode]
 <div><img src=""></div>
 <div><img src=""></div>
 <div><img src=""></div>
 [/shortcode]
 }}}

 It tries to nest div in p and Chrome converts that to <p> at the beginning
 and at the end.

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


More information about the wp-trac mailing list