FreshRSS / FreshRSS/FreshRSS

[Feed problem] Titles are not parsed properly.

Open
#8,162 4 comments 0 reactions 0 assignees View on GitHub
Extension :electric_plug: Feed problem :newspaper_roll: help wanted
Dominant language
PHP
Stars
16k
Forks
1.3k
Avg merge
13h 24m
Merged PRs (30d)
40

Description

### Describe the bug

Titles of articles on certain feeds (for me the most notable example being any tumblr blog) do not have HTML escaped characters parsed correctly. Other readers (like RSSGuard's local account) parse this correctly.

### To Reproduce

1. Subscribe to any tumblr blog as a feed (e.g. https://splatoonusna.tumblr.com/rss )
2. Fetch the latest articles.
3. Check the titles until you see a non-parsed character like ’
- If this is an auto generated title (not an ask, no headings used in post, etc.), compare to the first paragraph of the body. This will be parsed correctly.

### Expected behavior

The characters are correctly parsed and shown as the actual character.

### FreshRSS version

1.27.1

### System information

- Database version: SQLite
- PHP version:8.2.29
- Installation type: Docker Compose
- Web server type: Apache
- Device: Likely Irrelevant (issue occurs both on Web UI and RSS Guard on a laptop)
- OS: Arch Linux (kernel 6.17.5)
- Browser: Floorp 12.3.3 (pulled from FF 144)

### Additional context

The difference between the title and body seems to be that all content in the body is wrapped in at least some type of html tag (most commonly <p>), while the title isn't.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.