Permalink
Browse files

Fixing the printing for units.

  • Loading branch information...
1 parent f9964c8 commit b5adcac4911ca3119a6c66002c52aa496d74437d Aaron Leung committed May 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 node_emitters.cpp
View
3 node_emitters.cpp
@@ -202,7 +202,8 @@ namespace Sass {
case numeric_dimension: {
stringstream ss;
ss << numeric_value();
- ss << string(unit(), 2);
+ // ss << string(unit(), 2);
+ ss << unit().to_string();
// << string(content.dimension.unit, Prelexer::identifier(content.dimension.unit) - content.dimension.unit);
// cerr << Token::make(content.dimension.unit, content.dimension.unit + 2).to_string();
// << Token::make(content.dimension.unit, Prelexer::identifier(content.dimension.unit)).to_string();

0 comments on commit b5adcac

Please sign in to comment.