Skip to content

Making expressions case insensitive #1302

@priedthirdeye

Description

@priedthirdeye

I'd like to make it so expressions are not case sensitive.

For example, the following data:

var context = {title: "My New Post"};
var html    = template(context);

would support both:

{{title}} 

and 

{{Title}}

I looked through the source code and can't see where I would make such a change. I understand there may be some performance impact, but this would really help for my use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions