Last modified: 2014-05-04 19:31:26 UTC
== Using template parameters in tag. == By default it's impossible to use triple braced parameters inside sytntaxhighlight tag. To enable this I changed the extension a bit: In file SyntaxHighlight_GeSHi.class.php, line 23: this line was substituded: public static function parserHook( $text, $args = array(), $parser) with these two lines: public static function parserHook( $text, $args = array(), $parser, $frame ) $text = $parser->recursiveTagParse($text, $frame); Works pretty need but has the side affect that <> are shown as > and < See the attachement. example: <syntaxhighlight lang="sql"> select * from costumer where (id > 200 or id < 800) and id <> 250 </syntaxhighlight> Is there a better way to enable the use of SyntaxHighlight in a wiki-template?
Created attachment 10575 [details] special characters are shown wrong
*** This bug has been marked as a duplicate of bug 25547 ***