Skip to content

Text node as a root ignores the following element #160

Open
@saschanaz

Description

@saschanaz
html`.<a></a>`

This ignores <a> and returns ".", whereas html`.<a></a>.` correctly returns a DocumentFragment.

Workaround: html`.<a></a>${""}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions