[wp-trac] [WordPress Trac] #17368: Visual editor (TinyMCE) should respect empty html tags with attributes

WordPress Trac wp-trac at lists.automattic.com
Sat May 21 18:53:29 UTC 2011


#17368: Visual editor (TinyMCE) should respect empty html tags with attributes
--------------------------+------------------------
 Reporter:  designsimply  |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  3.2
Component:  TinyMCE       |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------
Changes (by ocean90):

 * milestone:  Awaiting Review => 3.2


Comment:

 Output after a switch from HTML to Visual and back with example code from
 designsimply:

 Trunk:
 {{{
 We should preserve padded Ps.

 And empty html tags with attributes.

 one

 two

 <br class="spacer_" />
 three

 <br class="spacer_" />
 <br class="spacer_" />
 stop
 }}}

 3.1.2:

 {{{
 We should preserve padded Ps.

 &nbsp;

 And empty html tags with attributes.
 <p class="spacer_">&nbsp;</p>
 one

 <br class="spacer_" />

 two

 <br class="spacer_" />
 <br class="spacer_" />

 three

 <br class="spacer_" />
 <br class="spacer_" />
 <br class="spacer_" />

 stop
 }}}

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


More information about the wp-trac mailing list