lib/sass/tree/while_node.rb in haml-3.0.0.beta.1 vs lib/sass/tree/while_node.rb in haml-3.0.0.beta.2
- old
+ new
@@ -12,10 +12,10 @@
end
protected
def to_src(tabs, opts, fmt)
- "#{' ' * tabs}@while #{@expr.to_sass}" + children_to_src(tabs, opts, fmt)
+ "#{' ' * tabs}@while #{@expr.to_sass(opts)}" + children_to_src(tabs, opts, fmt)
end
# Runs the child nodes until the continue expression becomes false.
#
# @param environment [Sass::Environment] The lexical environment containing