mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
fix newline replacement
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function convertLineBreaks(string){
|
||||
return string.replace('\n', '////');
|
||||
return string.replace(/\n/g, '\\\\');
|
||||
};
|
||||
|
||||
module.exports = (options) => {
|
||||
|
||||
Reference in New Issue
Block a user