[Docs] Always dasherize variables in the docs.

This commit is contained in:
Chris Eppstein 2010-07-10 13:44:17 -07:00
parent 24a25b5bba
commit a6c22c32be

View File

@ -126,6 +126,7 @@ def constants(item)
if child.is_a?(Sass::Tree::VariableNode)
child.comment = comment && Sass::Tree::CommentNode.clean(comment)
comment = nil
child.name.tr!("_",'-')
constants << child
elsif child.is_a?(Sass::Tree::CommentNode)
comment ||= ""