Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

< 78-ish cols

  • Loading branch information...
commit 7477247767756fbd703e6514d2f8ea7c9f632045 1 parent bac4f49
@tj tj authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/jade.js
View
6 lib/jade.js
@@ -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*
Please sign in to comment.
Something went wrong with that request. Please try again.