From d4ed88dbb55320a1c90e2a5a2b375b7bb9848e4f Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 26 Dec 2008 14:44:12 +0900 Subject: [PATCH] Follow ff=mac. --- common/content/io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/io.js b/common/content/io.js index 0c10eae0..e7396247 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -804,7 +804,7 @@ lookup: { let heredoc = ""; let heredocEnd = null; // the string which ends the heredoc - let lines = str.split("\n"); + let lines = str.split(/\r\n|[\r\n]/); for (let [i, line] in Iterator(lines)) {