Skip to content

HandleBars.Compile replaces '&' with '&' in .NET. How can i prevent such conversions in compilation in .NET? #461

@SoniJai

Description

@SoniJai

string location= "Location {{LocationName}}";

var data = new {LocationName = "Ohio & Utah"};

var templateFunc = Handlebars.Compile(location);
var message = templateFunc(data);
return message;
output is : Location Ohio & Utah

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