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 (</another>) should be before span.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to