Robert Jones wrote:
I can use most html on the wiki, just not the
tags/attributes with
characters ! and - as they get converted in the same way that tags not
included in the Sanitizer get converted. I am looking for a way around
this as I need to use a !DOCTYPE tag and a http-equiv at the top of my
article. Putting them in a skin won't work as I need to have the
choice of including them or not on each page.
The thing is that those *won't work* in the wiki portion of the page. They
*need* to be output into the skin portion or they would have no effect.
Thus what you need is for your page to alter the skin output by setting some
variable. Please note this will have effects on caching, so be careful to either
include the information in the ParserOutput object which is cached, or to
disable the parser cache.
-- brion bivbber (brion @
pobox.com)