Skip to content

Commit

Permalink
Merge pull request stylus#690 from sokra/normalize-new-lines-at-css-i…
Browse files Browse the repository at this point in the history
…mport

Normalize new lines at css import
  • Loading branch information
tj committed May 22, 2012
2 parents 948923b + 6adf656 commit 76e3d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/visitor/evaluator.js
Expand Up @@ -654,7 +654,7 @@ Evaluator.prototype.visitImport = function(imported){
nodes.filename = found;

var str = fs.readFileSync(found, 'utf8');
if (literal) return new nodes.Literal(str);
if (literal) return new nodes.Literal(str.replace(/\r\n?/g, "\n"));

// parse
var block = new nodes.Block
Expand Down

0 comments on commit 76e3d3b

Please sign in to comment.