Skip to content

Expressions with { value: 0 } not rendered #43

@dariomannu

Description

@dariomannu

A template expression with { value: 0 } should render a 0 in a template such as:

const expr = { value: 0};

document.body.innerHTML = rml`
  <div>${expr}</div>
`;

Expected behavior
A <div>0</div> should be rendered instead.

If you need step-by-step tracing, add a rml:debugger attribute right before the expression you want to debug:

<span rml:debugger>${expr}</span>

Reproduce with this code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions