When an article title includes HTML, e.g. "QString::arg(): Argument missing: <div id="body">, 41" MyArticle.title() returns the string with resolved entities: "QString::arg(): Argument missing: <div id="body>, 41" This breaks the article formatting.
Created attachment 8507 [details] Example file, see third item The file including the example. See third item, search the source for "Argument missing".
CVS commit by osterfeld: escape "<" and ">" in article titles BUG: 94210 M +1 -1 articleviewer.cpp 1.74 --- kdenonbeta/akregator/src/articleviewer.cpp #1.73:1.74 @@ -194,5 +194,5 @@ QString ArticleViewer::formatArticle(Fee if (article.link().isValid()) text += "<a id=\"titleanchor\" href=\""+article.link().url()+"\">"; - text += article.title(); + text += article.title().replace("<","<").replace(">", ">"); // TODO: better leave < and > escaped in the parser if (article.link().isValid()) text += "</a>";