I do have this: ``` c# _handlebarsContext.Compile("{{#each (String.Split \"a;b;c\" ';')}}\r\n{{@Key}}:{{@Index}}:{{this}}\r\n{{/each}}"); ``` Which should be like: ``` c# result.Should().Be("0:0:a\r\n1:1:b\r\n2:2:c\r\n"); ``` But it's ``` c# result.Should().Be("0:0:a\n1:1:b\n2:2:c\n"); ``` The `\r` is lost?
Activity
rexm commentedon Aug 7, 2026
This is definitely a regression. Thanks for flagging. Fix in progress.
fix: add .gitattributes to force LF checkout, fixing Windows CI failures
fix: preserve literal line endings in static template text (issue #661)
Merge pull request #663 from Handlebars-Net/fix/issue-661-crlf-normal…
rexm commentedon Aug 7, 2026
Released under 2.4.1