Sunday, October 29, 2006

Spelling checker bug

Well, I think I've found a bug in this beta version of Blogger already. If you turn on the spell checking feature in the WYSIWYG editor, it adds markup to highlight spelling errors (which is fine), with some JavaScript magic to provide nifty little pop-up menus with suggested spellings. The trouble is, if you don't correct what it thinks are spelling errors (like the word ‘daizu’, which obviously isn't in the spelling dictionary), the markup gets left behind and ends up on the web page.

My article yesterday has this in the HTML output from Blogger:

<span onclick="BLOG_clickHandler(this)"
class="blsp-spelling-error"
id="SPELLING_ERROR_0">Daizu</span>


(I've added newlines to make it more readable).

No comments: