with the following extension it works:
$wgExtensionFunctions[] = "wfRawHtmlExtension";
function wfRawHtmlExtension() {
global $wgParser;
$wgParser->setHook( "rawhtml", "renderRawHtml" );
}
function renderRawHtml( $input )
{
return $input;
}
to prevent any editing you have to write:
<rawhtml>
<style>
<nowiki>
... here go your styles ...
</nowiki>
</style>
</rawhtml>
-solo.
On 5/11/05, solo turn <soloturn(a)gmail.com> wrote:
hi,
is there a possibility to include a <style> tag so it does not get
"reformatted"? or have something like a "rawhtml" tag, where the
contents does not get touched?
use case:
format tables via a {{mytabletemplate}}, and define styles for
<table>, <tr>, <td> to avoid repeating them all the time.
-solo.