Thanks Andy! I'll try read the spec to learn more.
On Friday, January 26, 2018 at 7:29:47 PM UTC+3:30, Andy Balholm wrote:
>
> The prescription is correct; the diagnosis is close but not exactly right.
>
> The html package actually doesn’t pay any attention to the XML-style
> self-closing tag syn
The prescription is correct; the diagnosis is close but not exactly right.
The html package actually doesn’t pay any attention to the XML-style
self-closing tag syntax. It accepts it, in accordance with the HTML5 spec, as
an alternate style of opening tag, but it never closes an element just bec
How to parse custom (nested) elements using golang.org/x/net/html?
It parses the custom element correctly but if there are nested custom
elements, the next siblings are parsed as children of the parent custom
element.
https://play.golang.org/p/Iu4RP6qp60p
the closing tag for another () should