[wp-trac] [WordPress Trac] #25415: magically (improperly!) inserted P tag

WordPress Trac noreply at wordpress.org
Wed Sep 25 11:42:43 UTC 2013


#25415: magically (improperly!) inserted P tag
--------------------------+------------------------------
 Reporter:  crysman       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.6.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by crysman):

 I've made a small mistake here, it's not the shortcode output what is
 being wrapped by P, it is the whole page content.

 See this example:
 Editor source (in "Text" mode):
 {{{
 aaa
 [testshortcode]aaa[testshortcode]
 aaa
 }}}

 Published HTML output:
 {{{
 </header><!-- .entry-header -->

                                         <div class="entry-content">
                                                 <p>aaa<br />
 SUCCESS!aaaSUCCESS!<br />
 aaa</p>
 </div><!-- .entry-content -->

                                         <footer class="entry-meta">
 }}}

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


More information about the wp-trac mailing list