Opened 12 years ago
Closed 12 years ago
#10246 closed Bug (duplicate)
BR tags replaced with NBSPs
Reported by: | Jeremy Jannotta | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Parser | Version: | 4.0.1 |
Keywords: | Cc: |
Description
In all versions of CKEditor version 4.x, we've noticed that BR tags are automatically replaced with entities at the top level. If you try to add them back in with the ENTER key via wysiwyg, or source, they are replaced.
We think this is unintuitive, possibly a bug, and at the very least should have an option to turn off this behavior, as it is preventing our upgrade from 3.x to 4.
Test case: http://jsfiddle.net/jpj109/97XeC/
Steps to reproduce:
- Paste or type HTML into the source field that contains one or more BR tags at the top level (not enclosed within another tag)
- Toggle back to WYSIWYG field
- Toggle back to source field
- Notice where the BR tags are now a  
Expected results: Any BR tags originally entered into source should remain
This is in fact dup of #10146.