0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
Anders Kaseorg e528526289
Fix parsing image assets from a Markdown line along with other markup (#7742)
Every regex that tries to match a substring with .* or .+ is
guaranteed to be wrong.  In this case, it was giving incorrect matches
straddling multiple quoted attributes:

    <img __ASTRO_IMAGE_="../assets/image.png"> and <a href="link">link</a>
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixes #7741.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-07-21 07:59:10 +02:00
..
astro Fix parsing image assets from a Markdown line along with other markup (#7742) 2023-07-21 07:59:10 +02:00
astro-prism nit: export props has been unnecessary.. forever (#7646) 2023-07-14 09:57:06 -04:00
astro-rss Bump dependency versions (#7477) 2023-06-26 11:38:16 +08:00
create-astro Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
integrations [ci] format 2023-07-20 18:42:00 +00:00
internal-helpers [ci] release (#7449) 2023-06-27 08:42:46 -04:00
markdown Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
telemetry Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00
underscore-redirects [ci] release (#7624) 2023-07-13 21:43:11 +08:00
webapi Fix organize-imports-cli with satisfies operator (#7727) 2023-07-20 20:47:36 +08:00