Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

syntax highlighting - strings - issue related to %% #27

Open
colllin opened this issue Oct 29, 2014 · 2 comments
Open

syntax highlighting - strings - issue related to %% #27

colllin opened this issue Oct 29, 2014 · 2 comments
Labels

Comments

@colllin
Copy link

colllin commented Oct 29, 2014

It seems to create multiple nested string syntax highlights... and since my theme uses a semi-transparent background for the string highlights, you can clearly see that they are piling up on top of each other because they get darker and darker throughout the file:
image

On closer inspection, it looks like it's related to the characters %%- and %%=.
And in case it helps, this is a .erb file, and the <%% is meant to escape the ERB tag so that it will output the <% characters for use in an underscore template.
image
image
image

Moved from atom/language-ruby#67

@kevinsawicki
Copy link
Contributor

So is the language on the status bar HTML (Ruby - ERB) or HTML (Rails)?

@colllin
Copy link
Author

colllin commented Oct 30, 2014

HTML (Ruby - ERB)

On Thu, Oct 30, 2014 at 4:51 PM, Kevin Sawicki notifications@github.com
wrote:

So is the language on the status bar HTML (Ruby - ERB) or HTML (Rails)?


Reply to this email directly or view it on GitHub
#27 (comment)
.

@winstliu winstliu added the bug label Dec 2, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants