A.2.3.1 Enhance AnyTag with knowledge of empty HTML tags

The AnyTag functionality was given knowledge of HTML tags for which the close tag is forbidden, so it can avoid generating XHTML empty tag (which could cause the page to fail HTML validation).