﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
17368,Visual editor (TinyMCE) should respect empty html tags with attributes,designsimply,azaozz,"The visual editor (TinyMCE) is no longer respecting empty html tags with attributes such as {{{<br class=""spacer_"" />}}} or padded {{{<p>}}} tags like {{{<p>&nbsp;</p>}}}.

Steps to reproduce: 
1. Open a new post on a !WordPress trunk install.
2. Add the example code from below.
3. Switch back and forth between the Visual and HTML editor tabs.
* Expected: I expect the html in the example code to be preserved, i.e. the extra line break and empty paragraph spacing to be respected as long as they have attributes.
* Actual: Padding is being removed when it shouldn't.

Example code: 
{{{
<p>We should preserve padded Ps.</p>
<p>&nbsp;</p>
<p>And empty html tags with attributes.</p>
<p class=""spacer_""></p>
<p>one</p>
<br class=""spacer_"" />
<p>two</p>
<br class=""spacer_"" />
<br class=""spacer_"" />
<p>three</p>
<br class=""spacer_"" />
<br class=""spacer_"" />
<br class=""spacer_"" />
<p>stop</p>
}}}

Tested with r17848 on Chrome 11 beta and Firefox 4.0.1.",defect (bug),closed,normal,3.2,TinyMCE,3.2,normal,fixed,needs-patch,sheri@…
