From my experience, FCKEditor actually produces XHTML-compatible code, but this code is slightly different depending on which browser you are in. This is mainly due to the input key creating a break or paragraph, and I think it can be customized.
source
share