From a6c22c32bed440568f9c5c91ff6e72a636f5acca Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 10 Jul 2010 13:44:17 -0700 Subject: [PATCH] [Docs] Always dasherize variables in the docs. --- doc-src/lib/stylesheets.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/doc-src/lib/stylesheets.rb b/doc-src/lib/stylesheets.rb index f22e86e6..b92e48d6 100644 --- a/doc-src/lib/stylesheets.rb +++ b/doc-src/lib/stylesheets.rb @@ -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 ||= ""