Hi Ken - thanks for this. That behavior is definitely a start. But I wouldn't expect your product to be able to correct ALL invalid html (pretty impossible!).
However, I would really like a way (either within your product or using some available code) to just be able to validate that the html is well-formed. If a user creates poorly-formed html I will just reject it - otherwise his bad html could screw up my pages when displayed.
Also - does your product itself always generate properly-formed html? (e.g. if the user doesn't manually edit the html).
Thanks,
Paul.