Skip to content

Commit

Permalink
< 78-ish cols
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 27, 2010
1 parent bac4f49 commit 7477247
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/jade.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,11 @@ Parser.prototype = {

// text?
if (this.peek.type === 'text') {
buf.push("buf.push('" + interpolate(this.advance.val.replace(/^ */, '').replace(/'/g, "\\'")) + "');");
buf.push("buf.push('"
+ interpolate(this.advance.val
.replace(/^ */, '')
.replace(/'/g, "\\'"))
+ "');");
}

// newline*
Expand Down

0 comments on commit 7477247

Please sign in to comment.