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

           Summary: GeSHI highlighting is broken for bashwhen an
                    apostrophe/single quote is encountered inside a comment
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When an apostrophe or single quote is inside a quote, it is highlighted as if
it's part of a command, i.e. it turns red until another single quote is found.
Here's a simple example:

<source lang="bash">
# This is some text
# This is some more text
# It's a wonderful life
# This is more text that shouldn't be red

echo this is a command
</source>

An example of when this occurs in practice is
[http://en.wikipedia.org/wiki/Wikipedia:Text_editor_support#Using_vim_or_another_console_editor
here]. It is fixed upstream as evidenced by the demonstration box on
[http://qbnz.com/highlighter/ the front GeSHI page].


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to