Skip to content

Expressions with { value: 0 } not rendered #43

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

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

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions