-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[XPathAbstract] Refactor xpath abstract #4047
Conversation
Pull request artifacts
last change: Monday 2024-04-01 21:15:46 |
feed readers escape for html context anyways. And the atom/xml formats escape for xml context. So i think it's best to include raw unescaped html in feed items indeed. i like this refactor. makes for easier maintenance. be careful not to break existing feeds who have toggled this checkbox already. |
I added the optional Interestingly, you (accidentally?) broke this on master with commit 1c3c85d8ff5a6d071f688ef09ca93f275b4995af. Currently on master it behaves like How How |
…html tags in feed item contents by default
@dvikan @User123698745 Thank you for your feedbacks. So if I understand you both correct, there is almost no use case for automatically escaping html tags in item contents, right? Do you both agree? |
yes i think i agree. anyways i trust you on this one since im not vell versed with xpath bridge, will merge unless noted otherwise |
I agree, too |
Yesterday when working on #4038 I was a bit too quick and later I got the idea how to structure the code cleaner and nicer. So I refactored the changes, keeping all existing functionality intact.
While refactoring I also stumbled accross #3672 and wondered if it makes sense to skip calling
htmlspecialchars
on the feed item contents in special cases. At least for the Atom format it does not seem to make any difference (I get escaped html tags no matter how I set this setting). Any thoughts about that? @User123698745