We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19889
    • 616 Posts
    hello

    I’d like to refer you guys to the following conversation at tinyMCE http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=53534#p53534 and I was wondering whether there is a "cleanup" snippet available to would clean up things like this for instance:
    <p><div></div></p>
    - I have some chunks that I include on certain pages to e.g. show a Previous/Next page on my document - the chunk produces VALID XHTML - however, since tinyMCE puts everything into a P tag, the output at the end is invalid?!

    I hope there is a snippet that would allow me to clean up stuff like that.

    Thanks in advance for your help.