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

       Web browser: ---
             Bug #: 33303
           Summary: bug highlighting DOS code
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SyntaxHighlight (GeSHi)
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


<syntaxhighlight lang="dos">
echo "aaa !h!" >> "%~d0\test\output.txt"
</syntaxhighlight>

produces

echo "aaa !h!" >> "% class="re2">~d0\test\output.txt"


where;

 !h! is a delayedexpansionvariable (so is ! not %)
 %~d0 expands to the drive letter

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