rsmenon / pygments-mathematica

Mathematica/Wolfram Language lexer and highlighter for Pygments
MIT License
59 stars 8 forks source link

Backslash in strings triggers error #3

Closed szhorvat closed 8 years ago

szhorvat commented 8 years ago

This markdown

    :::wolfram
    "\\foo"

is translated to

<div class="codehilite"><pre><span></span><span class="s">&quot;</span><span class="err">\\</span><span class="s">foo&quot;</span><span class="w"></span>
</pre></div>

The \\ is marked as an error in the string.

rsmenon commented 8 years ago

This is now fixed in d4b75628451c2125dc3d011ceee5dacddb3cae80