Skip to content

Dash in parameter names #15

@stewartmckee

Description

@stewartmckee

I'm having an issue with dash in a param for example:

handlebars = Huddle::Handlebars.new("hi {{foo-bar}}")

results in

Parslet::ParseFailed (Extra input after last repetition at line 1 char 4.)

I have the same templates causing the error working fine on handlebars.js. I'm forking just now to take a look, but anyone seen this before with a resolution?

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