From 52fb797dd84f790811920fa9eda59c98de089d98 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Sun, 28 Dec 2008 13:32:04 -0800 Subject: [PATCH] Fix a little Sass parser bug. --- lib/sass/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sass/engine.rb b/lib/sass/engine.rb index ae4816c7..83d9a967 100644 --- a/lib/sass/engine.rb +++ b/lib/sass/engine.rb @@ -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.