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.
Created attachment 39116 [details] Screenshot with strange text preview
Created attachment 39117 [details] After pressing "ignore" things get broken in different way.
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).
I can confirm this. I've encountered this bug in several occassions, while using Sonnet in Lokalize
We altered the ui, should work better now.