Skip to content

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

@jacobstern

Description

@jacobstern

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions