Clean the comment before setting it on constants.

This commit is contained in:
Chris Eppstein 2010-03-28 23:09:03 -07:00
parent 2a8ba797a0
commit 8ee939a52c

View File

@ -121,7 +121,7 @@ def constants(item)
comment = nil
sass_tree.children.each do |child|
if child.is_a?(Sass::Tree::VariableNode)
child.comment = comment
child.comment = comment && Sass::Tree::CommentNode.clean(comment)
comment = nil
constants << child
elsif child.is_a?(Sass::Tree::CommentNode)