question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backslash behaviour for line continuation

See original GitHub issue

I would expect:

X {
    content: "...\
...";
}

To compile to:

X {
    content: "......";
}

But it instead compiles to:

X {
    content: "...\ ...";
}

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
robocodercommented, May 2, 2014

If sass follows CSS parsing, why does sass join the lines together? (@hcatlin’s libsass doesn’t)

0reactions
nex3commented, May 2, 2014

Interesting, thanks for that link, @robocoder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is line continuation with backslash dangerous in Python?
The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. Long lines can ...
Read more >
Does sudo documentedly handles characters after backslash ...
Long lines can be continued with a backslash ('\') as the last character on the line. The other behavior you describe is handled...
Read more >
Initial processing - The C Preprocessor
A continued line is a line which ends with a backslash, \ . The backslash is removed and the following line is joined...
Read more >
Line Continuation - Python Reference (The Right Way)
A line ending in a backslash cannot carry a comment. A backslash does not continue a comment. A backslash does not continue a...
Read more >
Is there a line continuation character in VC - Microsoft Q&A
All lines ending in a backslash (\) immediately followed by a newline character are joined with the next line in the source file, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found