work.suroh.tk/node_modules/@11ty/eleventy/test/Util/normalizeNewLines.js

6 lines
110 B
JavaScript

function normalizeNewLines(str) {
return str.replace(/\r\n/g, "\n");
}
module.exports = normalizeNewLines;