Summary: LaTeX tag with empty parameter not highlighted
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SyntaxHighlight (GeSHi)

This is about the syntaxhighlight tag with lang="latex".  As can be seen on the
English Wikipedia page for LaTeX, and on the test page linked to in the URL
field, the syntax highlighting breaks if you have a tag with an empty
parameter.  The syntax highlighter thinks that the parameter list hasn't
finished, and formats the rest of the text as a parameter list until it next
encounters a closing brace.

The example of this that is causing problems is the \LaTeX{} tag, which has
empty braces afterwards to prevent LaTeX from swallowing the following space.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to