Thread:Extension talk:WYSIWYG/SyntaxHighlight (Version 1.0.8.10 - r115163) using GeSHi - Generic Syntax Highlighter/reply (6)

I was earlier indeed wondering why there were two different ways for highlighting syntax.

Instead of building second similar function for syntaxhighlight tag, I have now modified wysiwyg of #6 bundle so that it by default is using syntaxhighlight -tag but is still supporting source -tag (based on your fix earlier, but switched other way around). In case source -tag is entered in special -dialog, it will be converted to syntaxhighlight -tag automatically. Xml tag should now work f.ex with xml code blocks and syntaxhighlight.

However this will not work:    in wysiwyg, yet it works in wikitext mode. In wysiwyg it will give xml parser error with "source" -tag. I suspect this is caused by parser of wysiwyg, it does not undertand that in this case source -tag is not related to xml -tags. So far I was unable to find a way to fix this.