-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[astro-rss] Stylesheets no longer work in 1.1.0 #5581
Comments
In repro, visit /rss.xml in the preview. Downgrade |
@fflaten can you submit a PR to fix this? |
Had same issue. Downgrade helps. In previous version generated: <?xml-stylesheet href="/rss/styles.xsl" type="text/xsl"?> In version 1.1.0 generated (no attribute "type" and not needed attribute "encoding"): <?xml-stylesheet href="/rss/styles.xsl" encoding="UTF-8"?> Also 1.1.0 break usage of CDATA in title/description tags and encode everything inside it. No option back CDATA usage. |
@le0pard sorry about this, if you're familiar with these features would you mind seeing a PR to fix? |
Might have been a resource-issue using github codespace. Worked fine in devcontainer locally, so will submit a PR as soon as I get familiar with chai.
@le0pard Do you mind posting this a new issue so it's not forgotten? 🙂 |
Thanks, issue created - #5677 |
What version of
astro
are you using?1.6.14
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
RSS Stylesheets are not rendered in astro-rss v1.1.0 due to missing
type="text/xsl"
-attribute removed in #5550.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-dsatf5
Participation
The text was updated successfully, but these errors were encountered: