mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Fix a little Sass parser bug.
This commit is contained in:
parent
addaa09a99
commit
52fb797dd8
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ END
|
|||
|
||||
def parse_directive(parent, line, root)
|
||||
directive, whitespace, value = line.text[1..-1].split(/(\s+)/, 2)
|
||||
offset = directive.size + whitespace.size + 1
|
||||
offset = directive.size + whitespace.size + 1 if whitespace
|
||||
|
||||
# If value begins with url( or ",
|
||||
# it's a CSS @import rule and we don't want to touch it.
|
||||
|
|
Loading…
Reference in a new issue