Opened 8 years ago
Closed 8 years ago
#3785 closed Bug (fixed)
[IE8] CKEDITOR.tools.htmlEncode returns NBSPs in IE8
| Reported by: | martinkou | Owned by: | tobiasz.cudnik |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 3.0 |
| Component: | General | Version: | SVN (CKEditor) - OLD |
| Keywords: | IE Confirmed Review+ | Cc: |
Description (last modified by tobiasz.cudnik)
CKEDITOR.tools.htmlEncode returns NBSPs in IE8.
Smiley dialog layout is wrong
To reproduce:
- Open smiley dialog in IE8.
- The table containing the icons does not fill the dialog.
Snippet
CKEDITOR.tools.htmlEncode(' ')
Attachments (2)
Change History (6)
comment:1 Changed 8 years ago by tobiasz.cudnik
- Owner set to tobiasz.cudnik
- Status changed from new to assigned
Changed 8 years ago by tobiasz.cudnik
Changed 8 years ago by tobiasz.cudnik
comment:2 Changed 8 years ago by tobiasz.cudnik
- Component changed from UI : Dialogs to General
- Description modified (diff)
- Keywords IE Confirmed Review? added
- Summary changed from Smiley dialog layout is wrong in IE8. to [IE8] CKEDITOR.tools.htmlEncode returns NBSPs in IE8
The reason was deep in CKEDITOR.tools.htmlEncode(), which relays on browser-borowed code.
comment:3 Changed 8 years ago by garry.yao
- Keywords Review+ added; Review? removed
Pretty nice fix, but seems not need to create two variable( fix1, fix2 ) for it. And please join the comments one L244 with L245.
comment:4 Changed 8 years ago by tobiasz.cudnik
- Resolution set to fixed
- Status changed from assigned to closed
Fixed with [3768].
@Garry: Local variables you mentioned are needed, without it or using only one, we will have stack overflow (at least in IE8).
Note: See
TracTickets for help on using
tickets.

Quickfix