[wp-trac] [WordPress Trac] #23858: 3 bugs with SAMP tag and WPAUTOP filter

WordPress Trac noreply at wordpress.org
Mon Mar 25 13:08:03 UTC 2013


#23858: 3 bugs with SAMP tag and WPAUTOP filter
--------------------------+------------------------
 Reporter:  Looimaster    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  3.5.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review =>


Old description:

> First: wpautop treats </samp> just like it was </p>
>
> Second: <br> is added before <samp> but not before all other tags such as
> <b>, <i>, <em>, <kbd>, <var> etc.
>
> Third: wpautop adds unwanted <p> in between nested shortcodes such as:
> [tabs] [tab]content 1[/tab] [tab]content 1[/tab] [/tabs]

New description:

 First: wpautop treats </samp> just like it was </p>

 Second: <br> is added before <samp> but not before all other tags such as
 <b>, <i>, <em>, <kbd>, <var> etc.

 Third: wpautop adds unwanted <p> in between nested shortcodes such as:
 `[tabs] [tab]content 1[/tab] [tab]content 1[/tab] [/tabs]`

--

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


More information about the wp-trac mailing list