I've currently got TinyMCE incorporated into the backend editor of a simple blogging/page-editing app, but I'm extremely unhappy with the HTML code it creates. It does all sorts of messy things like:
- Adding inline style information to span tags that you can't ever find to get rid of without editing the HTML directly.
- Nesting tags in nonsense ways (e.g.
<p><strong><p><span>some text</span></p><strong></p>
just to make something bold.) - Adding empty
<p> </p>
lines where they don't belong and I'm not trying to create blank lines.
EDIT: I've looked at lists of the other editors out there (including on SO), but I want to know if people firsthand have had better luck getting clean code out of their wysiwyg editors.
Any recommendations for one that outputs better code behind the scenes?