Files
test-repo/tests/html/attributes/class-bem1.html
T
7cf524fa03 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>
2021-01-18 15:50:52 +02:00

11 lines
455 B
HTML

<div class="ProviderMeasuresContainer__heading-row
d-flex
flex-column flex-lg-row
justify-content-start justify-content-lg-between
align-items-start align-items-lg-center">Foo</div>
<div class="a-bem-block a-bem-block--with-modifer ">
<div class="a-bem-block__element a-bem-block__element--with-modifer also-another-block" >
<div class="a-bem-block__element a-bem-block__element--with-modifer also-another-block__element">
</div></div> </div>