Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Handle html entities #6

Open
lmas opened this issue Jul 12, 2023 · 1 comment
Open

Handle html entities #6

lmas opened this issue Jul 12, 2023 · 1 comment

Comments

@lmas
Copy link
Owner

lmas commented Jul 12, 2023

Seen quite often in content now after following some new feeds.

Should try to display them properly.

@lmas
Copy link
Owner Author

lmas commented Sep 18, 2023

Yeah, for example the feed from lobste.rs have done a good job escaping their outputs. Easy enough and safe to undo as html/template will auto-escape it again.

But I've seen https://hnrss.org/best?link=comments&comments=25&points=50 as a feed URL but am not sure how to handle this. Some random web sources claims html entities in URLs are valid? Need more data and better sources.

lmas added a commit that referenced this issue Sep 18, 2023
Not Sure about URLs yet though, ongoing work...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant