Summary | Problem with spellchecking in HTML messages |
Queue | IMP |
Queue Version | 6.0.3 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | david.fernandez (at) ehu (dot) es |
Created | 01/21/2013 (4550 days ago) |
Due | |
Updated | 01/22/2013 (4549 days ago) |
Assigned | 01/21/2013 (4550 days ago) |
Resolved | 01/22/2013 (4549 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
commit 7caaa2dfd65f86def1383abf134ab57818d2ba61
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Jan 22 03:46:43 2013 -0700
[mms] Fix spellchecking on HTML data (
Bug #11986).Passing the html paramter got lost somewhere.
.../lib/Horde/Core/Ajax/Imple/SpellChecker.php | 7 ++++---
framework/Core/package.xml | 2 ++
2 files changed, 6 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/7caaa2dfd65f86def1383abf134ab57818d2ba61
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Problem with spellchecking in HTML messages
Due ⇒ 01/21/2013
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
The Spellchecker always assumes that the text is simple text. If we
compose a HTML message that contains the & character (HTML entity like
...) and then we use the spellchecker, the & characters are
escaped to &. As a consecuence the HTML entities are broken and
part of they are displayed in the message.
To reproduce:
- Compose a message in HTML mode
- Insert a table with 1 or more empty cells.
- Use spellchecker
- When returning from spellchecking in the empty cells appears
" ". In the source code the original " " are replaced by
"&nbsp;".