view! {
<div>
"This text is inside the div"
// `input` is forbidden from having children and doesn't need closing
<input type="text">
"This text is also inside the div"
}
Some tags are implicitly closed by other tags
This follows all the HTML5 rules, making the following legal syntax:
This implements the proposal from #50 with some alterations:
All closing tags for HTML elements are optional
End of macro closes all tags:
Closing an ancestor closes all children:
:warning: Note: components still need to be closed:
Void elements don't need to be closed
Some tags are implicitly closed by other tags
This follows all the HTML5 rules, making the following legal syntax: