diff --git a/dprint_plugin/tests/integration/biome/class-attr.html.snap b/dprint_plugin/tests/integration/biome/class-attr.html.snap new file mode 100644 index 0000000..f2c38ec --- /dev/null +++ b/dprint_plugin/tests/integration/biome/class-attr.html.snap @@ -0,0 +1,13 @@ +--- + +source: dprint_plugin/tests/integration.rs + +--- + +
+ div with lost of tailwindcss classes +
\ No newline at end of file diff --git a/dprint_plugin/tests/integration/class-attr.html b/dprint_plugin/tests/integration/class-attr.html new file mode 100644 index 0000000..3235e7e --- /dev/null +++ b/dprint_plugin/tests/integration/class-attr.html @@ -0,0 +1,10 @@ +
+ div with lost of tailwindcss classes +
\ No newline at end of file diff --git a/dprint_plugin/tests/integration/dprint_ts/class-attr.html.snap b/dprint_plugin/tests/integration/dprint_ts/class-attr.html.snap new file mode 100644 index 0000000..f2c38ec --- /dev/null +++ b/dprint_plugin/tests/integration/dprint_ts/class-attr.html.snap @@ -0,0 +1,13 @@ +--- + +source: dprint_plugin/tests/integration.rs + +--- + +
+ div with lost of tailwindcss classes +
\ No newline at end of file diff --git a/markup_fmt/src/ctx.rs b/markup_fmt/src/ctx.rs index 2f82955..d5370b1 100644 --- a/markup_fmt/src/ctx.rs +++ b/markup_fmt/src/ctx.rs @@ -308,7 +308,7 @@ where .replace(|c: char| !c.is_ascii_whitespace(), " ") + code, Hints { - print_width: u16::MAX as usize, + print_width: 120 as usize, attr: true, ext: "css", },