#3115 closed Bug (fixed)
Tags with attributes removed when they have no content
Reported by: | Matthew Leffler | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6.4 |
Keywords: | Cc: |
Description
When entering html source directly the editor removes tags with no content even if they have attributes.
To reproduce:
- Click on the Source button
- Enter the following code:
<a href="http://media.example.com/video/video.flv" style="display:block;width:432px;height:240px;" id="player"> </a>
- Click the Source button again.
- 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.
Change History (3)
comment:1 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago by
Milestone: | CKEditor 3.x |
---|
This is fixed in 3.0RC. Thanks!