1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(fmt): don't use self-closing tags in HTML (#26754)

Closes https://github.com/denoland/deno/issues/26748
This commit is contained in:
Bartek Iwańczuk 2024-11-06 12:56:03 +00:00 committed by GitHub
parent 5088b25f23
commit 64e887083a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1032,7 +1032,7 @@ fn get_resolved_markup_fmt_config(
max_attrs_per_line: None, max_attrs_per_line: None,
prefer_attrs_single_line: false, prefer_attrs_single_line: false,
html_normal_self_closing: None, html_normal_self_closing: None,
html_void_self_closing: Some(true), html_void_self_closing: None,
component_self_closing: None, component_self_closing: None,
svg_self_closing: None, svg_self_closing: None,
mathml_self_closing: None, mathml_self_closing: None,

View file

@ -1,4 +1,4 @@
<div class="container">content</div> <div class="container">content<br></div>
<script> <script>
let counter = 0; let counter = 0;