Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python highlight triple-quote string with hash #815

Closed
mihnatenko opened this issue Oct 23, 2015 · 1 comment
Closed

Python highlight triple-quote string with hash #815

mihnatenko opened this issue Oct 23, 2015 · 1 comment

Comments

@mihnatenko
Copy link

I tried to highlight some python code with prism, and looks like it has a bug with triple-quote python strings with hash. Prism highlights it like comment:
screen shot 2015-10-23 at 3 30 00 pm
when i removed hash from string - everything was fine:
screen shot 2015-10-23 at 3 31 18 pm

@Golmote
Copy link
Contributor

Golmote commented Oct 23, 2015

Hi. Comment-like substrings are a known issue. But I think we could prioritize triple-quoted strings over single-line comments in Python.
I'll look into it tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants