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

Line-based comments end up in output #195

Open
dmnd opened this issue Jun 22, 2012 · 0 comments
Open

Line-based comments end up in output #195

dmnd opened this issue Jun 22, 2012 · 0 comments

Comments

@dmnd
Copy link

dmnd commented Jun 22, 2012

Line-based comments can appear in output. Example:

@font-face {
  src: url('./fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
    // a line based comment that should be stripped
    url('./fontawesome-webfont.woff') format('woff'),
}

Run that through lessc and you get this:

@font-face {
  src: url('./fontawesome-webfont.eot?#iefix') format('embedded-opentype'), // a line based comment that should be stripped url('./fontawesome-webfont.woff') format('woff');
}

Which is very surprising compared to line based comments in other languages.

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

No branches or pull requests

1 participant