Bug 168864 - entity-encoded HTML in RSS does not interpret as HTML
Summary: entity-encoded HTML in RSS does not interpret as HTML
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: feed parser (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 168738 169374 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-10 20:44 UTC by Ben Aceler
Modified: 2008-10-19 20:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Aceler 2008-08-10 20:44:41 UTC
Version:           1.2.50 (using 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) "release 26.3", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.11-0.1-pae

If a RSS feed contains entity-encoded HTML without CDATA tag, these entries decodes into respectively special symbols, but not HTML. For example, <description>&lt;b&gt;this is bold&lt;/b&gt;</description> should result a bold text, but akregator show this string as <b>this is bold</b>.

Example of the RSS feed: http://www.linux.org.ru/section-rss.jsp?section=1
Comment 1 Pino Toscano 2008-08-18 17:24:53 UTC
*** Bug 168738 has been marked as a duplicate of this bug. ***
Comment 2 Pino Toscano 2008-08-18 17:25:01 UTC
*** Bug 169374 has been marked as a duplicate of this bug. ***
Comment 3 Frank Osterfeld 2008-10-15 21:34:43 UTC
SVN commit 871840 by osterfeld:

add another HTML detection testcase
CCBUG:168864


 A             linux_org_ru.xml  
 A             linux_org_ru.xml.expected  


WebSVN link: http://websvn.kde.org/?view=rev&revision=871840
Comment 4 Frank Osterfeld 2008-10-19 20:52:54 UTC
SVN commit 873588 by osterfeld:

Don't require the number of "<" match the number of ">" (">" can occurr unescaped)
Works both with the test suite and my personal feeds
BUG:172845
BUG:170318
BUG:168864


 M  +8 -6      tools.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873588
Comment 5 Frank Osterfeld 2008-10-19 20:54:33 UTC
SVN commit 873590 by osterfeld:

backport: don't require < count match > count to consider string as HTML 
CCBUG:172845
CCBUG:170318
CCBUG:168864


 M  +8 -6      tools.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873590