Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert shorthand ssr comments #10980

Merged
merged 3 commits into from
Mar 29, 2024
Merged

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Mar 29, 2024

Fixes #10976

Apparently the shorthand comments break some svg cases and also causes validation errors. Leaving this up there in case we want to revert the SSR comment changes.

Copy link

changeset-bot bot commented Mar 29, 2024

🦋 Changeset detected

Latest commit: 9e79ee2

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

@brianschwabauer
Copy link

Here's a small reproduction of the svg issue if you are curious:
https://stackblitz.com/edit/sveltejs-kit-template-default-jkeygp?file=src%2Froutes%2F%2Bserver.ts

@Rich-Harris Rich-Harris merged commit 696b692 into main Mar 29, 2024
8 checks passed
@Rich-Harris Rich-Harris deleted the revert-shorthand-ssr-comments branch March 29, 2024 14:03
@JonathonRP
Copy link

Maybe could use namespace to dynamically handle svg comments? Also be nice if namespace could allow ternary of namespace string values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Svelte 5: Bogus comments caused by <![><!]>
4 participants