Smarter formatting of HTML class attribute (#7865)
* html: break class attr onto multiple lines, but try keeping consecutive classes with the same prefix on one line
* add changelog
* add more tests
* improve doc structure to fix an issue with the closing quote
* Update changelog_unreleased/html/pr-7865.md
Co-Authored-By: Jed Fox <git@twopointzero.us>
* handle classes with leading _ and -
* update snapshots
* Lint
* Update pr-7865.md
* Update changelog entry
Co-authored-by: Jed Fox <git@twopointzero.us>
Co-authored-by: fisker Cheung <lionkay@gmail.com>