[#8330] Spell check problem
Summary Spell check problem
Queue IMP
Queue Version 4.3.4
Type Bug
State Resolved
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>, Horde Developers
Requester mtecles (at) biof (dot) ufrj (dot) br
Created 06/08/09 (281 days ago)
Due 06/08/09 (281 days ago)
Updated 01/12/10 (63 days ago)
Assigned 06/09/09 (280 days ago)
Resolved 06/22/09 (267 days ago)
Attachments
Milestone
Patch No

History
01/12/10 CVS Commit Comment #3 Reply to this comment
06/22/09 Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
This was fixed long ago in the HTML mode - I just failed to recognize 
the issue also occurs in text-only mode if the words name, class, or 
incorrect appear in a non-English spellcheck after the first match.   
This is because those words will be matched inside the previously 
inserted HTML tags, and additional HTML tags will be inserted in the 
exisiting HTML tags.  This has been fixed for text mode in 4.3.5.
06/09/09 Jan Schneider State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Slusarz
 
06/08/09 mtecles (at) biof (dot) ufrj (dot) br Comment #1
State ⇒ Unconfirmed
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Due ⇒ 06/08/09
Summary ⇒ Spell check problem
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Starting a new message with IMP, spell checking (aspell) works fine (Spanish,

Italian, French, Brazilian Portuguese, American English) either on

text edition or on HTML editor.



However, if the body (including signature) contains "skype name", 
using text mode editor (Internet Explorer or Firefox), spell check 
works only in English, any other language results in an error that 
modifies the text of the message

until the line with "skype name". I have it tested after having 
excluded cookies and temporary files.



Example of message text:



This is a test.

skype name



Results in the following text after spell check in Portuguese:



name="incorrect" class="incorrect">This name="incorrect" 
class="incorrect">is a name="incorrect" class="incorrect">test.

name="incorrect" class="incorrect">skype name



Or in this one if in French:



name="incorrect" class="incorrect">This name="incorrect" 
class="incorrect">is a test.

name="incorrect" class="incorrect">skype name



Text of the message:

skype name

This is a test.



Results in the following text after spell check in Portuguese:

name="incorrect" class="incorrect">skype name

This is a test.



I have tested aspell command line with a file containing "skype name", 
which worked fine (English and Portuguese).



I am using Debian 5 (lenny), aspell (0.60.6-1), PHP Version 
5.2.6-1+lenny3, Horde 3.3.4, IMP 4.3.4.

There is no error if using HTML editor (Xinha), spell check works.



Thank you,

Mauricio