Bug 112146

Summary: html entities appear in rss popup
Product: [Applications] akregator Reporter: Kae Verens <kae>
Component: akregator konqueror pluginAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kae Verens 2005-09-07 09:25:11 UTC
Version:            (using KDE KDE 3.4.90)
Installed from:    Compiled From Sources
OS:                Linux

HTML Entities that appear in the title parameter of a <link> element are not decoded.

For example, see http://contemporaryliving.ie/ - the RSS link is as follows:
<link rel="alternate" type="application/rss+xml" title="contemporaryliving.ie &gt; Home" href="/Home.rss" />

When I click the rss button on the bottom right of Konqueror, this shows as "contemporaryliving.ie &gt; Home". It should appear as "contemporaryliving.ie > Home".
Comment 1 Eckhart Wörner 2005-09-07 10:28:34 UTC
Confirmed.
Comment 2 Frank Osterfeld 2005-09-07 21:44:53 UTC
SVN commit 458298 by osterfeld:

resolve entities in feed titles
BUG: 112146


 M  +2 -0      feeddetector.cpp  


--- branches/KDE/3.5/kdeaddons/konq-plugins/akregator/feeddetector.cpp #458297:458298
@@ -83,6 +83,8 @@
         if (pos != -1)
         title = reTitle.cap(1);
 
+        title = KCharsets::resolveEntities(title);
+
         QString url;
         pos = reHref.search(*it, 0);
         if (pos != -1)
Comment 3 Frank Osterfeld 2005-09-07 21:50:58 UTC
SVN commit 458301 by osterfeld:

backport of 112146: resolve entities in feed titles

CCBUG: 112146


 M  +2 -0      feeddetector.cpp  


--- branches/KDE/3.4/kdeaddons/konq-plugins/akregator/feeddetector.cpp #458300:458301
@@ -83,6 +83,8 @@
         if (pos != -1)
         title = reTitle.cap(1);
 
+        title = KCharsets::resolveEntities(title);
+
         QString url;
         pos = reHref.search(*it, 0);
         if (pos != -1)
Comment 4 Frank Osterfeld 2005-09-07 21:53:51 UTC
SVN commit 458302 by osterfeld:

forward port of 112146: resolve entities in feed titles
CCBUG: 112146


 M  +2 -0      feeddetector.cpp  


--- trunk/KDE/kdeaddons/konq-plugins/akregator/feeddetector.cpp #458301:458302
@@ -83,6 +83,8 @@
         if (pos != -1)
         title = reTitle.cap(1);
 
+        title = KCharsets::resolveEntities(title);
+
         QString url;
         pos = reHref.search(*it, 0);
         if (pos != -1)