Bug 219062 - Spellcheck window displays HTML in preview window part
Summary: Spellcheck window displays HTML in preview window part
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kspell (show other bugs)
Version: 4.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 13:39 UTC by Māris Nartišs
Modified: 2024-05-10 21:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot with strange text preview (92.69 KB, image/png)
2009-12-17 13:40 UTC, Māris Nartišs
Details
After pressing "ignore" things get broken in different way. (96.29 KB, image/png)
2009-12-17 13:41 UTC, Māris Nartišs
Details
And another way how to display wrong HTML in text preview. (92.12 KB, image/png)
2009-12-17 13:43 UTC, Māris Nartišs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Māris Nartišs 2009-12-17 13:39:29 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Gentoo Packages

1) Start Kate;
2) Enter following text: <b> bbold <i> iitlic <u> nderline <br> <br> </u> text </i> bb </b>
3) Check it's spelling. Check all words. Text preview part will show mixture of broken tags and render parts of text according to tags provided in typed in text.

Spellcheck's text preview part should not be affected by contents of text passed for spellchecking. Any HTML tags should be escaped to dispaly 1:1 as in text passed for checking.
Comment 1 Māris Nartišs 2009-12-17 13:40:35 UTC
Created attachment 39116 [details]
Screenshot with strange text preview
Comment 2 Māris Nartišs 2009-12-17 13:41:41 UTC
Created attachment 39117 [details]
After pressing "ignore" things get broken in different way.
Comment 3 Māris Nartišs 2009-12-17 13:43:22 UTC
Created attachment 39118 [details]
And another way how to display wrong HTML in text preview.

It has also a bright side - it doesn't execute JavaScript (I was not able to figure out how to do this).
Comment 4 Panagiotis Papadopoulos 2010-03-06 15:09:39 UTC
I can confirm this. I've encountered this bug in several occassions, while using Sonnet in Lokalize
Comment 5 Christoph Cullmann 2024-05-10 21:53:58 UTC
We altered the ui, should work better now.