From 6f6fae98aaacb82ab19030b67d66985b441bbc64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20Am=C3=A9rico?= Date: Sat, 10 Jun 2017 15:51:16 -0300 Subject: [PATCH] Remove carriage return in interpolate function --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 5c5c05a..37245b2 100644 --- a/index.js +++ b/index.js @@ -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) }