Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove carriage return in interpolate function
  • Loading branch information
blikblum committed Jun 10, 2017
commit 6f6fae98aaacb82ab19030b67d66985b441bbc64
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ function interpolate (text) {
text = text.replace(/\{/g, '" + (')
text = text.replace(/\}/g, ') + "')
text = text.replace(/\n/g, ' \\\n')
text = text.replace(/\r/g, '')
return strify(text)
}

Expand Down