[wp-trac] Re: [WordPress Trac] #4480: Using two <br />'s in more text creates invalid markup

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 20 16:15:08 GMT 2007


#4480: Using two <br />'s in more text creates invalid markup
--------------------------+-------------------------------------------------
 Reporter:  huesforalice  |        Owner:  pishmishy
     Type:  defect        |       Status:  assigned 
 Priority:  lowest        |    Milestone:  2.5      
Component:  Template      |      Version:  2.2      
 Severity:  minor         |   Resolution:           
 Keywords:  wpauto        |  
--------------------------+-------------------------------------------------
Changes (by pishmishy):

  * owner:  anonymous => pishmishy
  * status:  new => assigned

Comment:

 huesforalice, I think that the best solution here would be for you to use
 the 'the_content' filter to remove the <p>.

 The default filters for the_content such as autop could be moved so that
 they don't effect the more text, but that'll break things for people who
 wanted to use them to effect the more text.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4480#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list