0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/astro
firefoxic e4a6462751
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>
2024-03-19 20:21:08 +05:30
..
components Revert "[ci] format" (#10417) 2024-03-13 09:55:24 +00:00
e2e fix(toolbar): Fixes small misc issues (#10442) 2024-03-15 13:26:37 +01:00
performance Revert "[ci] format" (#10417) 2024-03-13 09:55:24 +00:00
src fix: void elements (#10493) 2024-03-19 20:21:08 +05:30
test qol(endpoints): helpful error message when a response is not provided (#10455) 2024-03-18 20:06:46 +05:30
tsconfigs fix(tsconfigs): Add jsx: 'preserve' to the base template (#10368) 2024-03-08 13:45:43 +00:00
types Move astro:content types declaration to manual ambient module (#10013) 2024-02-07 13:58:11 +00:00
astro-jsx.d.ts Add a name property for DetailsHTMLAttributes (#9918) 2024-02-01 23:02:47 +08:00
astro.js fix semver check (#9937) 2024-02-01 16:25:11 -05:00
CHANGELOG.md [ci] release (#10471) 2024-03-18 22:36:58 +05:30
client.d.ts Fixes broken transition types (#10392) 2024-03-11 15:45:43 -04:00
config.d.ts Add limitInputPixels option for sharp image service (#9546) 2024-01-03 13:19:04 +00:00
config.mjs Add limitInputPixels option for sharp image service (#9546) 2024-01-03 13:19:04 +00:00
content-module.template.mjs
content-types.template.d.ts feat(astro): improve astro:content types (#9906) 2024-02-05 11:53:18 -06:00
env.d.ts
index.d.ts
jsx-runtime.d.ts feat: export JSX types from jsx-runtime (#9501) 2023-12-23 02:52:04 -05:00
package.json [ci] release (#10471) 2024-03-18 22:36:58 +05:30
playwright.config.js
README.md Compress banner image (#9493) 2023-12-22 16:48:12 +00:00
tsconfig.json
types.d.ts Add ComponentProps util (#9839) 2024-01-31 13:56:44 +00:00
zod.d.ts
zod.mjs


Build the web you want

Astro is the all-in-one web framework designed for speed.
Pull your content from anywhere and deploy everywhere, all powered by your favorite UI components and libraries.

Install

# Recommended!
npm create astro@latest

# Manual:
npm install --save-dev astro

Looking for help? Start with our Getting Started guide.

Looking for quick examples? Open a starter project right in your browser.

Documentation

Visit our official documentation.

Support

Having trouble? Get help in the official Astro Discord.

Contributing

New contributors welcome! Check out our Contributors Guide for help getting started.

Join us on Discord to meet other contributors. We'll help you get your first contribution in no time!

Sponsors

Astro is generously supported by Vercel, storyblok, and several other amazing organizations listed here.

❤️ Sponsor Astro! ❤️