Skip to content
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(atom): remove safe filter on page.content, and don't make content and summary mutually exclusive #165

Merged
merged 2 commits into from
Sep 17, 2023

Conversation

SeaDve
Copy link
Contributor

@SeaDve SeaDve commented Sep 17, 2023

Summary

Commit A:

This fixes broken atom feed which shows the following when there is <br> tag on one of the blog:

image

Commit B:

This makes summary and content tag be able to coexist.

Changes

Commit A:

This removes the | safe filter on in atom.xml.

Commit B:

This puts the summary tag in a separate if statement from the content tag.

It seems to causing problems on <br> tags.
Summary tag should be able to exist even when there's content tag.
@welpo welpo merged commit a617d6f into welpo:main Sep 17, 2023
@welpo
Copy link
Owner

welpo commented Sep 17, 2023

Thank you!

@welpo welpo added bug Something isn't working enhancement New feature or request labels Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants