aboutsummaryrefslogtreecommitdiff
path: root/lib/service/event.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-02-17 00:36:12 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-02-17 00:36:12 +0100
commit1446dc7551cab6dfac53dda7eb8a8c3b3182cf48 (patch)
treed7648ab58fa76360c0564dd7495b7d8de2642e55 /lib/service/event.cpp
parent46108978fb72b40c7feeb52c2a7abbd437f8751d (diff)
downloadenigma2-1446dc7551cab6dfac53dda7eb8a8c3b3182cf48.tar.gz
enigma2-1446dc7551cab6dfac53dda7eb8a8c3b3182cf48.zip
filter \n and \t in short description title
Diffstat (limited to 'lib/service/event.cpp')
-rw-r--r--lib/service/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service/event.cpp b/lib/service/event.cpp
index e78ddc4e..e15eebfc 100644
--- a/lib/service/event.cpp
+++ b/lib/service/event.cpp
@@ -88,7 +88,7 @@ bool eServiceEvent::loadLanguage(Event *evt, std::string lang, int tsidonid)
lang = cc; // use first found language
if (cc == lang)
{
- m_event_name = convertDVBUTF8(sed->getEventName(), table, tsidonid);
+ m_event_name = convertDVBUTF8(replace_all(replace_all(sed->getEventName(), "\n", " "), "\t", " "), table, tsidonid);
m_short_description = convertDVBUTF8(sed->getText(), table, tsidonid);
retval=1;
}