Preamble new line symbol
Need use "\n" symbol for new line break
This commit is contained in:
parent
ba9936a572
commit
66f9a749e3
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user