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

Line-based comments end up in output #195

Open
@dmnd

Description

@dmnd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions