Preamble new line symbol

Need use "\n" symbol for new line break
This commit is contained in:
Nikita Bystrov 2015-07-27 12:45:23 +03:00
parent ba9936a572
commit 66f9a749e3

View File

@ -317,7 +317,7 @@ function OutputStream(options) {
};
if (options.preamble) {
print(options.preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g, "\n"));
print(options.preamble.replace(/\\n|\r\n?|[\n\u2028\u2029]|\s*$/g, "\n"));
}
var stack = [];