mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Properly strip whitespace from imported files in :compressed mode.
This commit is contained in:
parent
3976fb5084
commit
1a6df373e5
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Sass
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_s(*args)
|
def to_s(*args)
|
||||||
@to_s ||= super()
|
@to_s ||= (style == :compressed ? super().strip : super())
|
||||||
rescue Sass::SyntaxError => e
|
rescue Sass::SyntaxError => e
|
||||||
e.add_backtrace_entry(@filename)
|
e.add_backtrace_entry(@filename)
|
||||||
raise e
|
raise e
|
||||||
|
|
Loading…
Add table
Reference in a new issue