Summary: | Spellchecker shouldn't check HTML tags | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Thomas Forster <thc> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 2.2.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Thomas Forster
2004-05-31 01:23:57 UTC
In CVS, Kate is able to not spellcheck HTML tags. The feature is very limited, for example all text in javascripts and style sheets is still checked. But it's there. I hate to have to ask this, but where is it? I can't find any spellchecking options anywhere in Kate, and in KDE 3.5.8, Kate is /still/ spellchecking the tags in my XHTML documents. it should happen automatically for documents with mimetypes text/html, text/xml and text/x-php. What mimetype is your document (look at it in konqueror, which does about the same check as KatePart) I was saving the files with the *.xhtml extension, and I had set the mimetype to application/xml+xhtml, which I thought was correct. (Apparently *nothing* on my system recognizes the xhtml extension by default, which I don't understand. I have to manually tell every application about this extension, it seems.) Now I tried setting the mimetype of *.xhtml to text/html instead. I'm not sure if that's correct, but now the Kate spell checker works properly. And Konqueror's thumbnail views actually show the appearance of .xhtml files instead of just a preview of the source, which is much nicer. SVN commit 1148339 by cullmann: mwolff: limit spellchecking to text and comments in HTML BUG: 82543 M +29 -28 html.xml WebSVN link: http://websvn.kde.org/?view=rev&revision=1148339 |