Skip to content

comments don't respect whitespace control #866

@75lb

Description

@75lb

i use handlebars to generate markdown, which is whitespace-sensitive.. so i use whitespace control a lot..

but it doesn't work on template comments.. at the moment, this command (note the trailing ~):

handlebars.compile("{{! comment ~}}      blah")();

returns this:

'      blah'

whereas i expected this:

'blah'

should/could this be addressed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions