Julia.tmbundle icon indicating copy to clipboard operation
Julia.tmbundle copied to clipboard

Quotes in triple-quoted string literals

Open mortenpi opened this issue 8 years ago • 0 comments

Note: I was directed here by GitHub, since they use this package (via Linguist) to do code highlighting on the site. However, I am not actually using TextMate, so it would be great if someone could confirm this bug.

Having single quotes in triple-quoted strings is not handled properly, which you can see in the following code snippet

foo() = asdf
"""
AAA " BBB
"""
# Highlighting is now broken after the single quotemark
foo() = asdf

which to me renders as gh_highlight_bug Python also has triple-quoted strings, so I would guess that the fix could be borrowed from there.

mortenpi avatar Jun 28 '16 16:06 mortenpi