Re:Foolproof HTML
by kazinator on Sunday February 05, 2017 @11:16AM
(#13572999)
Start and end tag inference really means element inference. LIke, oh, here is a <p>...</p> but it's not in a <body> element; let's wrap it in one to canonicalize it. That can be done in the abstract syntax tree, rather than by literally inserting tag tokens.
(I hope for the sake of SGML and HTML that you're the one confusing character level syntax with tree manipulation.)
(I hope for the sake of SGML and HTML that you're the one confusing character level syntax with tree manipulation.)