Commit Graph
9 Commits
Author SHA1 Message Date
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
fisker CheungandGeorgii Dolzhykov b01591770a HTML: Don't preserve line breaks around text-only content (#8614)
* Fix inconsistent formatting on Vue interpolation

* Fix text

* Update changelog

* Fix snapshot

* Add an explanation to the changelog

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-07-06 09:18:22 +03:00
fisker Cheung cde4a0af9d Fix broken format with upper case HTML tag (#8280)
* Fix broken format with upper case HTML tag

* Add changelog
2020-05-11 21:26:24 +03:00
fisker Cheung e1611e855a Update @angular/compiler and angular-estree-parse (#7942) 2020-05-11 09:03:39 +08:00
Georgii Dolzhykov 018a5b0803 Workaround optional chaining parser bug in Angular expressions (#8253)
* Workaround optional chaining parser bug in Angular expressions

* add changelog entry

* fix changelog entry
2020-05-08 13:40:16 +03:00
Georgii Dolzhykov 1a3fc0082b Preserve parens around pipes in objects in Angular expressions (#8254) 2020-05-08 13:39:51 +03:00
fisker Cheung ed3eeb82f8 Test: add parser check (#8256) 2020-05-08 10:56:09 +08:00
fisker Cheung b622578896 Categorize tests part 3 (js) (#8249)
* Categorize tests(js)
2020-05-08 00:55:46 +08:00
fisker Cheung b585bd6fa4 Categorize tests (html) (#8239) 2020-05-07 23:05:21 +08:00