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

Copy button pasting different result #611

Closed
ashlite opened this issue Oct 24, 2024 · 0 comments · Fixed by #612
Closed

Copy button pasting different result #611

ashlite opened this issue Oct 24, 2024 · 0 comments · Fixed by #612

Comments

@ashlite
Copy link

ashlite commented Oct 24, 2024

The sample is in https://svelte.dev/docs/kit/load#Page-data

tried copying in TS using copy button at top right corner
image

resulting to paste this

post: {
    title: string;
    content: string;
}

The JS version is okay

dummdidumm added a commit that referenced this issue Oct 24, 2024
first/last pre isn't enough, as there can be nested pre tags due to shiki

Fixes #611
dummdidumm added a commit that referenced this issue Oct 24, 2024
first/last pre isn't enough, as there can be nested pre tags due to shiki

Fixes #611
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 a pull request may close this issue.

1 participant