Bug 337330 - HTML tags in title are not rendered correctly
Summary: HTML tags in title are not rendered correctly
Status: RESOLVED UNMAINTAINED
Alias: None
Product: akregator
Classification: Applications
Component: internal browser (show other bugs)
Version: 4.13.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 15:59 UTC by Rolf Eike Beer
Modified: 2017-01-07 21:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
CMake commit feed exposing the problem (32.11 KB, application/xml)
2014-07-10 15:59 UTC, Rolf Eike Beer
Details
RSS testcase (910 bytes, application/rss+xml)
2015-01-11 14:09 UTC, Rolf Eike Beer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer 2014-07-10 15:59:28 UTC
If a feed contains HTML tags (like <) in the title of an article, those tags are not properly rendered. The main problem happens if there is a <something> text inside, this is entirely missing on the screen (probably because it is "rendered" twice, resulting in an invalid (ignored) markup tag.

Reproducible: Always
Comment 1 Rolf Eike Beer 2014-07-10 15:59:55 UTC
Created attachment 87680 [details]
CMake commit feed exposing the problem
Comment 2 Frank Osterfeld 2014-10-25 17:40:09 UTC
The attached file is HTML. Do you have an example feed (RSS or atom)?
Comment 3 Rolf Eike Beer 2015-01-11 14:09:57 UTC
Created attachment 90349 [details]
RSS testcase
Comment 4 Frank Osterfeld 2015-01-18 14:45:58 UTC
RSS2 can contain both plain text or HTML without any clear identification what's contained. So finding out if the contained <, > constitute a tag is guesswork. To fix this issue, one could try harder to check if the tag is valid ("<lt and>" isn't) or use a whitelist of html tags instead of accepting everything that looks like a tag.
Comment 5 Rolf Eike Beer 2015-01-18 16:59:24 UTC
The problem arises when I write something in the subject line like "fix <p> tag being handled wrong" or something like that.
Comment 6 Denis Kurz 2016-09-24 19:39:02 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of akregator (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 7 Denis Kurz 2017-01-07 21:48:48 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.