[wp-trac] Re: [WordPress Trac] #6128: the_content spits out bogus BR tag

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 22 07:35:46 GMT 2009


#6128: the_content spits out bogus BR tag
----------------------------+-----------------------------------------------
 Reporter:  kickslop        |       Owner:  anonymous       
     Type:  enhancement     |      Status:  new             
 Priority:  normal          |   Milestone:  2.8             
Component:  Administration  |     Version:  2.3.3           
 Severity:  normal          |    Keywords:  has-patch tested
----------------------------+-----------------------------------------------
Changes (by azaozz):

  * owner:  azaozz => anonymous
  * component:  TinyMCE => Administration


Comment:

 TinyMCE uses <br /> to pad the empty editor so the cursor can be placed in
 it. That's removed during the save cleanup. Think the <br /> in an empty
 post comes from autop (next line after the proposed fix in the first
 patch).

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


More information about the wp-trac mailing list