0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00
astro/.changeset/weak-oranges-relate.md
Alex Waldron 16e61fcacb
fix: handle srcset local image paths with spaces (#9537)
* fix: handle srcset local image paths with spaces

* replaced janky 'replaceAll' with encodeURI

* Update .changeset/weak-oranges-relate.md

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>

* fix: encodeURI the returned filepath directly

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
Co-authored-by: Princesseuh <3019731+Princesseuh@users.noreply.github.com>
2023-12-28 16:23:46 -05:00

78 B

astro
patch

<Image /> srcset now parses encoded paths correctly