Keep HTML comments Posted by lombi 21 Jul 2014 07:34 GMT-0000 posts: 2 Hey, the "Allow HTML" checkbox is checked, but all HTML comments are filtered. How can I prevent this? I need the ability to use raw HTML comments and not the ~hc~ tags. Thanks!
Posted by Tom Jarvis 22 Jul 2014 00:48 GMT-0000 posts: 215 If you turn off the HTML Purifier option, then HTML comments will not be stripped. The HTML Purifier option is on by default. It is found in security and textarea. The comment on the HTML Purifier option says "If you are trying to use HTML in your pages and it gets stripped out, you should make sure your HTML is valid or de-activate this feature". If you want to keep the HTML Purifier option on, and do not want to use ~hc~ and ~/hc~ tags, then you could put the comments in an HTML Plugin. The HTML plugin requires validation though. Tom
Posted by lombi 22 Jul 2014 06:50 GMT-0000 posts: 2 Thanks Tom, I have disabled the HTML Purifier and now it works!