Files
test-repo/changelog_unreleased/handlebars/18065.md
T
912342210d Fix extra blank lines in Handlebars style tags (#18065)
Co-authored-by: fisker <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-27 19:59:40 +08:00

391 B

Remove extra blank lines in <style> tags (#18065 by @kovsu, @fisker)

{{! Input }}
<style>
  #foo {
    color: red;
  }
</style>

{{! Prettier stable (--html-whitespace-sensitivity=ignore) }}
<style>

  #foo {
    color: red;
  }

</style>

{{! Prettier main (--html-whitespace-sensitivity=ignore)  }}
<style>
  #foo {
    color: red;
  }
</style>