-
Notifications
You must be signed in to change notification settings - Fork 15
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 entity escaping in rss.xml #46
Conversation
❌ Deploy Preview for dot-org-hugo-theme-demo-thetwopct failed.
|
❌ Deploy Preview for dot-org-hugo-theme-demo failed. Why did it fail? →
|
Signed-off-by: Wolfgang Popp <mail@wolfgang-popp.de>
What's your policy on the Hugo version? I see the netlify bot is currently building with 0.115.4. An alternative fix could be to use |
@cjyabraham - just curious, why you're not using the Hugo RSS template? |
@thetwopct, any thoughts? |
Tbh, I can't remember now, but pretty sure it wasn't showing the content I wanted it too. I can try switching back if I get time. Also @woefe thanks for your PR, and sorry for not approving it yet, I haven't had a chance to work on this theme recently. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, will be released in v0.1.5 of the theme
Fixes the entity escaping in the RSS item description. Uses the same escaping mechanism as the default Hugo rss template.
transform.XMLEscape
requires Hugo 0.121.0 or newer. https://gohugo.io/functions/transform/xmlescape/