#3115: Tags with attributes removed when they have no content
----------------------+-----------------------------------------------------
 Reporter:  mattleff  |       Owner:                 
     Type:  Bug       |      Status:  new            
 Priority:  Normal    |   Milestone:  CKEditor 3.0   
Component:  General   |     Version:  FCKeditor 2.6.4
 Keywords:            |  
----------------------+-----------------------------------------------------
 When entering html source directly the editor removes tags with no content
 even if they have attributes.

 To reproduce:

 1. Click on the Source button
 2. Enter the following code:
 {{{
 <a href="http://media.example.com/video/video.flv";
    style="display:block;width:432px;height:240px;"
    id="player">
 </a>
 }}}
 3. Click the Source button again.
 4. Go back into the Source by clicking the Source button

 The source will be blank.  If you repeat this but put a character between
 the <a tag and the closing </a tag it will preserve the source.

 Expected behavior: The editor should only remove the empty tags that have
 no attributes.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3115>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to