diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-17 00:36:12 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-17 00:36:12 +0100 |
| commit | 1446dc7551cab6dfac53dda7eb8a8c3b3182cf48 (patch) | |
| tree | d7648ab58fa76360c0564dd7495b7d8de2642e55 | |
| parent | 46108978fb72b40c7feeb52c2a7abbd437f8751d (diff) | |
| download | enigma2-1446dc7551cab6dfac53dda7eb8a8c3b3182cf48.tar.gz enigma2-1446dc7551cab6dfac53dda7eb8a8c3b3182cf48.zip | |
filter \n and \t in short description title
| -rw-r--r-- | lib/service/event.cpp | 2 |
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; } |
