Closed hishamco closed 7 years ago
Now if we have a model like this:
@model firstName="Jon" lastName="Doe"
This will work {{FirstName}}, but {{firstName}} doesn't
{{FirstName}}
{{firstName}}
So the mustache nugget case should respect the case of the model property, in above example this {{firstName}} should work fine
This is line https://github.com/hishamco/MarkdownViewEngine/blob/master/src/MarkdownViewEngine/MarkdownDirective.cs#L19 the main reason for this issue. We will add the properties casing as its
Fixed in commit https://github.com/hishamco/MarkdownViewEngine/commit/cb6a7f24f64e063238725734125b544096f5e8f7
Now if we have a model like this:
This will work
{{FirstName}}
, but{{firstName}}
doesn'tSo the mustache nugget case should respect the case of the model property, in above example this
{{firstName}}
should work fine