fix: accept all XML-compatible attribute names for HTML attributes

Before, many attribute names (such as foo-bar or foo.bar) were not
recognized as possible attribute names.