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

'//' in URL #24

Open
JP-Ellis opened this issue Jan 9, 2014 · 2 comments
Open

'//' in URL #24

JP-Ellis opened this issue Jan 9, 2014 · 2 comments
Labels

Comments

@JP-Ellis
Copy link

JP-Ellis commented Jan 9, 2014

Hi,

The '//' characters indicate that the rest of the line is commented out, however this behaviour is ignored if it is part of a url. The GitHub SCSS marking for example displays it correctly:

@import url(http://www.example.com/); // A comment

The above code in scss-mode would have everything after http: commented out. This has the additional side-effect of messing up indentation after this as it matches up with the opening parenthesis.

@antonj antonj added the bug label Jan 6, 2015
@hut8
Copy link

hut8 commented Sep 27, 2015

http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import

Perhaps as a workaround you could just use @import "http://foo.com/bar"instead? That's documented in the above link.

@JP-Ellis
Copy link
Author

I don't think there's any need for a workaround, it's only an aesthetic bug in the first place.

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

No branches or pull requests

3 participants