-
-
Notifications
You must be signed in to change notification settings - Fork 25
Fix HTML-escaped { and } in the API reference #337
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 HTML-escaped { and } in the API reference #337
Conversation
✅ Deploy Preview for svelteplot ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
perfect thanks! can you run |
|
Thanks for the hint, actually I forgot to run it, but it seems the cause is some temporary error from the GitHub API. |
|
Hmm, the same error... I have no idea, but I believe there's no lint error. If I run |
|
ah, I got it. not your fault then. will merge. thanks again! |
|
Thanks for merging! |
Fix #335
For some reason, HTML escaping doesn't work. If we use
{(current), it will be displayed as{. If we use{, we get an unexpected token error from Svelte. After struggling for a while, the only solution I could find is to replace it with{'{'}, a Svelte expression that actually returns{.