Allow the `class` attr for all tags

because we want to use this module in PyPI and PyPI's current generated HTML has these `class` attributes.