Opened 16 years ago
Closed 13 years ago
#3023 closed Bug (invalid)
extra <br /> added on GetHTML()
Reported by: | Dinu | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Output Data | Version: | FCKeditor 2.6.4 |
Keywords: | Cc: |
Description
On GetHTML(), a <br/> is added in the displayed body. It is out of place and not included in the GetHTML return, causing an inconsistency between fetched and displayed document.
The GetHTML() request should NOT alter in any way the layout of the document.
Change History (7)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Keywords: | Confirmed added |
---|
This is something we're trying to fix in v3, please keep watching the progress of #2886.
comment:3 follow-up: 4 Changed 16 years ago by
Connected problem: IsDirty always true when EnterMode='div' and last element is a block element (i.e. table).
comment:4 Changed 16 years ago by
Replying to dinu:
Connected problem: IsDirty always true when EnterMode='div' and last element is a block element (i.e. table).
Yes, it's also related to <br> handling logic, which doesn't appear in v3 now.
comment:6 Changed 16 years ago by
Milestone: | FCKeditor 2.6.5 |
---|
comment:7 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | confirmed → closed |
FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible since this issue is no longer a problem in current code base.
On further testing, this seems to happen when the last element of the body is a block element: img, p, div etc. I also found a case when body text was wrapped in <p></p> which is quite wrong, but I can't replicate, I'll try some more.