[wp-trac] Re: [WordPress Trac] #7036: Bad side effect of automatically changing <br /><br />

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 18 07:37:42 GMT 2009


#7036: Bad side effect of automatically changing <br /><br />
--------------------------+-------------------------------------------------
 Reporter:  agro1986      |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  closed   
 Priority:  low           |    Milestone:           
Component:  General       |      Version:           
 Severity:  normal        |   Resolution:  wontfix  
 Keywords:  wpautop       |  
--------------------------+-------------------------------------------------
Changes (by Viper007Bond):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  2.9 =>


Comment:

 Just use a `<div>`:

 {{{
 <div class="secret">

 a

 b

 </div>
 }}}

 Note the line spacing between the `<div>` and the "`a`" is required though
 due to unrelated buginess in `wpautop()` (you'll end up without an opening
 `<p>` otherwise).

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


More information about the wp-trac mailing list