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

       Web browser: ---
             Bug #: 37041
           Summary: Can't hilight code containing <source> if passed as
                    template param
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: dann...@email.cz
                CC: soxre...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---


Although bug 18820 claims that now it's possible to hilight even the code
containing <source>, it's not possible in every case.

Template:Code
{{#tag:syntaxhighlight|{{{code}}}|lang={{{lang}}}}}

Article:
Lorem ipsum
{{Code|lang=xml|code=
<image>
  <source isrelative="false">/absolute/path/to/image.png</source>
</image>
}}


The example above triggers error.

-- 
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