Should this be `isLegalInTagName`?