Skip to content

\r\n handling? #661

Description

@StefH

I do have this:

_handlebarsContext.Compile("{{#each (String.Split \"a;b;c\" ';')}}\r\n{{@Key}}:{{@Index}}:{{this}}\r\n{{/each}}");

Which should be like:

result.Should().Be("0:0:a\r\n1:1:b\r\n2:2:c\r\n");

But it's

result.Should().Be("0:0:a\n1:1:b\n2:2:c\n");

The \r is lost?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions