Seen with Stasis 0.1.16 on Windows 7 64-Bit, Ruby 1.9.3-p0, latest Gem's as published at the time of report.
When using ERB layouts with Windows-style end-of-line (EOL) characters (i.e. CRLF) , the resulting output file has a double newline after each EOL. When using Unix-style or Mac-style EOL all is fine.
As an example, using an ERB template looking like this:
Seen with Stasis 0.1.16 on Windows 7 64-Bit, Ruby 1.9.3-p0, latest Gem's as published at the time of report.
When using ERB layouts with Windows-style end-of-line (EOL) characters (i.e.
CRLF
) , the resulting output file has a double newline after each EOL. When using Unix-style or Mac-style EOL all is fine.As an example, using an ERB template looking like this:
I get an output file looking like this:
The character sequence at the end of each output line is:
CRCRLF