[wp-trac] [WordPress Trac] #2348: <div>blah<!--more-->blah</div> breaks themes, validation

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 4 11:17:38 UTC 2010


#2348: <div>blah<!--more-->blah</div> breaks themes, validation
-----------------------------------------+----------------------------------
 Reporter:  skeltoac                     |        Owner:  ryan    
     Type:  defect (bug)                 |       Status:  reopened
 Priority:  normal                       |    Milestone:  2.1     
Component:  Shortcodes                   |      Version:  2.9.1   
 Severity:  normal                       |   Resolution:          
 Keywords:  bg|has-patch bg|2nd-opinion  |  
-----------------------------------------+----------------------------------
Changes (by enochfung):

 * cc: enochfung (added)
  * resolution:  fixed =>
  * status:  closed => reopened
  * component:  Optimization => Shortcodes
  * version:  2.0 => 2.9.1


Comment:

 Hello,

 This bug is still present in WP 2.9.1.

 Example)
 <div>

 your post text
 <!--nextpage-->
 more text

 </div>

 When you call <?php the_content(); ?> the last div is missing.

 Temporary fix:

 <?php the_content(); ?>
 </div>

 Add an extra </div> in your theme files. No guarantees on other tags.

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


More information about the wp-trac mailing list