Carriage return text recipe
-
Hi all,
I'd like to know if it is possible to force the type of carriage return during the report generation.
My server is running on Linux but I want to have a crlf (windows line ending) in the final file.
Thanks a lot,
-
Try to add a script like this
async function afterRender (req, res) { res.content = res.content.toString().replace(/\n/g, '\r\n') }
-
Great thank you !