https://bugzilla.wikimedia.org/show_bug.cgi?id=37041

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krinklem...@gmail.com
            Summary|Can't hilight code          |Can't highlight code
                   |containing <source> if      |containing <source> if
                   |passed as template param    |passed as template
                   |                            |parameter

--- Comment #2 from Krinkle <krinklem...@gmail.com> 2012-05-23 21:03:15 UTC ---
By using #tag the purpose is to allow wikitext expansion. That means
{{{parameters}}}, {{#parserfunctions}}, {{templates}}, but also <tags>.

If you don't want that, use <nowiki>:

{{#tag:syntaxhighlight|<nowiki>
<image>
  <source isrelative="false">/absolute/path/to/image.png</source>
</image>
</nowiki>
|lang=xml
}}

.. which works as expected.

Example:
https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=541325


Invalid?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to