diff options
author | 2024-03-19 17:51:08 +0300 | |
---|---|---|
committer | 2024-03-19 20:21:08 +0530 | |
commit | e4a6462751725878bfe47632eeafa6854cad5bf2 (patch) | |
tree | f1e87da56b3f6854326b75b8d01b55488418ae71 /packages/integrations/node/test/trailing-slash.test.js | |
parent | ad57a02c330b544770ab853fe0521eb784421016 (diff) | |
download | astro-e4a6462751725878bfe47632eeafa6854cad5bf2.tar.gz astro-e4a6462751725878bfe47632eeafa6854cad5bf2.tar.zst astro-e4a6462751725878bfe47632eeafa6854cad5bf2.zip |
fix: void elements (#10493)
* Fix void elements
HTML is not XML. It doesn't have self-closing tags, it has void element tags that don't need closing slashes.
Now generated void elements (e.g. link with path to style file) do not pass validation, which can be easily fixed by simply removing two characters.
* Add changeset
* Apply suggestions from code review
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/node/test/trailing-slash.test.js')
0 files changed, 0 insertions, 0 deletions