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

           Summary: LaTeX tag with empty parameter not highlighted
                    correctly
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://en.wikipedia.org/wiki/User:Quietbritishjim/LaTe
                    X_bug
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: soxre...@gmail.com
        ReportedBy: quietbritish...@hotmail.com


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: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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