Skip to content

fix: ensure svg namespace for <a> elements is correct#14756

Merged
trueadm merged 4 commits intomainfrom
fix-svg-regression
Dec 18, 2024
Merged

fix: ensure svg namespace for <a> elements is correct#14756
trueadm merged 4 commits intomainfrom
fix-svg-regression

Conversation

@trueadm
Copy link
Copy Markdown
Contributor

@trueadm trueadm commented Dec 18, 2024

Fixes #14723 and fixes #14751.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Dec 18, 2024

🦋 Changeset detected

Latest commit: ef8c56e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Playground

pnpm add https://pkg.pr.new/svelte@14756

@trueadm trueadm changed the title fix: ensure svg namespace persists from parent of if blocks fix: ensure svg namespace for <a> elements is correct Dec 18, 2024
Comment thread packages/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js Outdated
@Rich-Harris
Copy link
Copy Markdown
Member

preview: https://svelte-dev-git-preview-svelte-14756-svelte.vercel.app/

this is an automated message

@trueadm trueadm merged commit 8705d44 into main Dec 18, 2024
@trueadm trueadm deleted the fix-svg-regression branch December 18, 2024 23:11
@github-actions github-actions Bot mentioned this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants