-
Notifications
You must be signed in to change notification settings - Fork 235
Closed
Description
There are a few places that mention that Handlebars.Net is supposed to be case insensitive as of v1.6.6 but I can't seem to get it to act that way.
Am I doing something wrong in the code? Below is a basic example of what I'm doing
var templateString = "Dear {{displayName}}";
var template = Handlebars.Compile(templateString);
var data = new ExpandoObject();
data.TryAdd("DisplayName", "John");
var output = template(data);
Console.WriteLine(output);
This just results in Dear .
If I change templateString to be "Dear {{DisplayName}}" it would print Dear John
This is using the NuGet package v1.10.1 on a .NET Core 3.1 console application.
Metadata
Metadata
Assignees
Labels
No labels