New textarea html editor
For the past couple of years I've been using htmlarea for rich html fomatting in my web apps. It works pretty good, but can be a bit buggy. Apparently development on it has been discontinued, so I thought I'd see what else was available.
I came across one called TinyMCE and thought I'd start using it in my blog to sus it out a bit. This thing is lean and very stable. It seems pretty easy to customise and the code is well documented and modularised. The best part is that it's free and open source.. very nice. :)
The only bummer is that the <code></code> formatting stuff built into Ray's blog won't work properly coz TinyMCE coverts everything to javascript escapes... I'd like to find a work around for this if anyone has any ideas.

Comments
Did you try turning html validation off in TinyMCE setup?
That might do it?