Actions
Bug #23971
openNewline format in windows file is different than linux format
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Effort required:
Large
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
On Linux, we used \n
as newline format, however on Windows, the newline format is `\r\n`.
This can cause some file editor to not render the file as expected, like Notepad.
For example, if we use directive "File content" and using the parameter "Raw text of your template" with newline in it, both on Linux and Windows the newline in the created file by Rudder will be \n
For now, we have a workaround: using a source file with the right newline format in it to prevent this behavior since resource file format are not changed by Rudder.
Actions