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 ||= ""