We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The recent blog post, Svelte <3 TypeScript, breaks the RSS feed because the < isn't sanitised, it produces this:
<
<title>Svelte<3 TypeScript</title>
The offending lines are here, it looks like the <description> tag needs sanitising as well:
<description>
https://github.com/sveltejs/v2.svelte.dev/blob/b21e7b90ad7f2d62556eba660314e7238a22ce4a/src/routes/blog/rss.xml.js#L25-L27
The text was updated successfully, but these errors were encountered:
Moving this over to the main Svelte repo, where the current site lives.
The relevant code is at https://github.com/sveltejs/svelte/blob/999b1f4cdb37f7d529d71a9f35de44b3fb90bfb4/site/src/routes/blog/rss.xml.js - each of these strings we're using here need to be escaped for HTML.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The recent blog post, Svelte <3 TypeScript, breaks the RSS feed because the
<
isn't sanitised, it produces this:The offending lines are here, it looks like the
<description>
tag needs sanitising as well:https://github.com/sveltejs/v2.svelte.dev/blob/b21e7b90ad7f2d62556eba660314e7238a22ce4a/src/routes/blog/rss.xml.js#L25-L27
The text was updated successfully, but these errors were encountered: