I want to do something like this:
{{user.name.toLowerCase()}}
but I get this error:
Error: Parse error on line X: ...tatus {{us
I created the following helper, but I'm curious if there's a better solution out there.
Handlebars.registerHelper('toLowerCase', function(value) { if(object) { return new Handlebars.SafeString(value.toLowerCase()); } else { return ''; } });