In previous versions, adding advanced markup in WordPress posts was easy – adding an HTML comment to a div would prevent the editor from stripping it, as in:
Just an example of how something like that could be useful – a functional, empty div.
Old versions would leave these elements untouched.
In 3.2, however, switching from the HTML editor to the wysiwyg editor removes these entirely.
Is there a way to restore the old behavior/prevent this from happening?
- The topic ‘Visual Editor now strips HTML comments (new in 3.2)… How to prevent?’ is closed to new replies.