Ticket #2605: mythnews.patch
| File mythnews.patch, 859 bytes (added by , 19 years ago) |
|---|
-
mythplugins/mythnews/mythnews/newsengine.cpp
241 241 for (unsigned int i = 0; i < items.count(); i++) { 242 242 itemNode = items.item(i); 243 243 title = itemNode.namedItem(QString::fromLatin1("title")).toElement().text().simplifyWhiteSpace(); 244 245 if(!title.isNull()) 246 ReplaceHtmlChar(title); 247 244 248 QDomNode descNode = itemNode.namedItem(QString::fromLatin1("description")); 245 249 if (!descNode.isNull()) 246 250 { … … 286 290 s.replace("'", "\'"); 287 291 s.replace("…",QChar(8230)); 288 292 s.replace("é",QChar(233)); 293 s.replace("—", QChar(8212)); 294 s.replace(" ", " "); 289 295 } 290 296
