I'd simply like to have non-whitelisted HTML in comments encoded instead of being stripped out.
I haven't been able to simply use as this will encode not only the HTML in the original comment but also the HTML added by any text filters (such as Convert Line Breaks or Markdown).
I'd like HTML encoding to be applied before text filters are applied, thus preventing the encoding of the HTML added by text filters.
I understand I can use the "filters" tag modifier to specify the order of text filters, however this doesn't appear to let me specify at which point, relative to the processing of text filters, that HTML encoding occurs.
I'm hoping this is quite straightforward, however I just can' t seem to figure out how it may be achieved. Any thoughts would be greatly appreciated!
Reported on Movable Type 4.2
You could write your own text filter: http://www.movabletype.org/documentation/developer/plugins/defining-custom-text-filters.html.