Open marvinhagemeister opened 2 years ago
Single line comments in the opening tag seem to break props parsing. The rendered vnode will only receive an empty object as props.
props
vnode
html`<span // Every attribute after this comment will be dropped id="foo" />`
Actual Behavior
// returned vnode { props: {}, }
Expected Behavior
// returned vnode { props: { id: "foo" }, }
Single line comments in the opening tag seem to break
props
parsing. The renderedvnode
will only receive an empty object as props.Actual Behavior
Expected Behavior