Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indented partial calls are don't result in indented source #1

Open
jacobstern opened this issue Apr 11, 2019 · 0 comments
Open

Indented partial calls are don't result in indented source #1

jacobstern opened this issue Apr 11, 2019 · 0 comments

Comments

@jacobstern
Copy link
Owner

Per the reference for Handlebars.compile(), indented calls to a partial are expected to result in the entire source block being indented. This does not work with handlebars-idom. I'm not sure whether this is a real use case but it's definitely a deviation from the reference behavior of the library.

In order to implement this we would have to do something mildly adventurous like proxy calls to the IncrementalDOM backend to add indentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant