-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
RSS feed has <p> tags inside <description> #1
Comments
The |
I'm a complete Rust noob but dove into the code of ramhorns and pulldown_cmark and got to the conclusion that this would require a custom cmark parser in ramhorns that filters Tags that indicate block-level Elements (and errors when one is found). But now I see ramhorns wants to implement Markdown support entirely differently? Thanks for the fast reaction and fix, anyway! (By the way, you linked the wrong commit: a220b84) |
Thank you, fixed the commit number. |
According to https://stackoverflow.com/questions/7203450/what-paragraphs-and-line-breaks-are-valid-rss-formatting#comment8810661_7203450 (and other sources on the internet),
<p>
tags inside<description>
violate the RSS spec.Blades seems to automatically wrap the summary of a page in these tags, since I get them in my normal template as well. Why? How about making it so
{{summary}}
doesn't automatically get wrapped and relying on the user to make sure they are marked up correctly, and the feed will be valid as well?The text was updated successfully, but these errors were encountered: