Opened 15 years ago
Last modified 12 years ago
#7779 confirmed Bug
getData converts BR tag to nbsp
| Reported by: | Arne | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.1 |
| Keywords: | IBM | Cc: | monahant@… |
Description
- Go to demo page.
- Run the following in Firebug.
CKEDITOR.instances.editor1.document.getBody().setHtml('<p>paragraph<br><br></p>'); CKEDITOR.instances.editor1.getData(); - Observe the following result.
<p> paragraph<br /> </p>
Expected result (filler node should be removed):
<p> paragraph<br /></p>
Tested in Firefox 4, WinXP. CK version 3.5.3
Change History (3)
comment:1 Changed 15 years ago by
| Status: | new → confirmed |
|---|---|
| Version: | → 3.1 |
comment:2 Changed 13 years ago by
| Cc: | monahant@… added |
|---|---|
| Keywords: | IBM added |

Reproducible in all browsers from CKEditor version 3.1.