mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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:
parent
5088b25f23
commit
64e887083a
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="container">content</div>
|
<div class="container">content<br></div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
let counter = 0;
|
let counter = 0;
|
||||||
|
|
Loading…
Reference in a new issue