* Build(deps): Bump angular-html-parser from 1.7.0 to 1.7.1 Bumps [angular-html-parser](https://github.com/ikatyang/angular-html-parser) from 1.7.0 to 1.7.1. - [Release notes](https://github.com/ikatyang/angular-html-parser/releases) - [Changelog](https://github.com/ikatyang/angular-html-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/ikatyang/angular-html-parser/compare/v1.7.0...v1.7.1) Signed-off-by: dependabot[bot] <support@github.com> * Add test for issue 8626 * Rename pr-8626.md to pr-8643.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
824 B
824 B
Fix formatting element with void element as its last child (#8643 by @ikatyang)
<!-- Input -->
<video controls width="250">
<source src="/media/examples/flower.webm"
type="video/webm">
<source src="/media/examples/flower.mp4"
type="video/mp4"
></video>text after
<!-- Prettier stable -->
<video controls width="250">
<source src="/media/examples/flower.webm" type="video/webm" />
<source src="/media/examples/flower.mp4" type="video/mp4" /></video
>text after
<!-- Prettier master -->
<video controls width="250">
<source src="/media/examples/flower.webm" type="video/webm" />
<source src="/media/examples/flower.mp4" type="video/mp4" /></video
>text after