Skip to content

Newlines in template parameters? #843

Description

@theangrydev

I was hoping to be able to do something like this for arguments that have multiline content:

{{ helper 'line1
line2
line3' }}

But I get an error like this:

com.github.jknack.handlebars.HandlebarsException: inline@69d4e0a5:1:14: found: ''line1', expected: '}}'

Is there a recommended way to handle multiline arguments? Happy to submit a PR if someone can guide me to the right place to modify to support this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions