[wp-trac] [WordPress Trac] #14050: shortcode_unautop() should also remove the <br /> added after shortcodes

WordPress Trac noreply at wordpress.org
Thu Nov 21 01:17:02 UTC 2013


#14050: shortcode_unautop() should also remove the <br /> added after shortcodes
----------------------------------------+-----------------------------
 Reporter:  aaroncampbell               |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Formatting                  |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  dev-feedback needs-refresh  |
----------------------------------------+-----------------------------

Comment (by lkraav):

 Replying to [comment:17 nacin]:
 > Still needs a patch after [18952].

 New regex from [18952] doesn't match shortcodes with attributes at all,
 while the previous short one does.

 {{{
 <p>[hypertag class="foo"]Bar[/hypertag]</p>
 }}}

 Is this a regression then?

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


More information about the wp-trac mailing list