With this parser, the above example will result in the bottom meta tag being a child of the top one.
This can be worked around as a consumer of the parser, although the behavior occurs as a surprise, without any indication other than an imbalanced parse tree.
ASP.NET understands certain HTML tags to be self-closing by definition, even if the programmer did not close the tag.
For example:
With this parser, the above example will result in the bottom meta tag being a child of the top one.
This can be worked around as a consumer of the parser, although the behavior occurs as a surprise, without any indication other than an imbalanced parse tree.