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

       Web browser: ---
             Bug #: 30930
           Summary: Unwanted change of tabs to spaces on highlighted code
                    makes it completely unaligned
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: https://secure.wikimedia.org/wikipedia/en/w/index.php?
                    title=Wikipedia:Sandbox&oldid=450807921
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: mybugs.m...@gmail.com
                CC: soxre...@gmail.com
    Classification: Unclassified


The code
<syntaxhighlight lang="javascript" enclose="pre" highlight="2-3">
function doSomething() {
        var     foo,
                bar;
        if (baz) {
</syntaxhighlight>

, which use tabs for indentation, is wrongly rendered as
----
function doSomething() {
     var    foo,
         bar;
    if (baz) {
----
as you can check n the provided url.

This shouldn't happen.

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