diff --git a/src/eitd/SIevents.cpp b/src/eitd/SIevents.cpp index d4f994c32..b58c00dcc 100644 --- a/src/eitd/SIevents.cpp +++ b/src/eitd/SIevents.cpp @@ -517,6 +517,7 @@ void SIevent::setName(const std::string &lang, const std::string &name) void SIevent::setName(unsigned int lang, const std::string &name) { std::string tmp = name; + std::replace(tmp.begin(), tmp.end(), '\\n', ' '); std::replace(tmp.begin(), tmp.end(), '\n', ' '); std::replace(tmp.begin(), tmp.end(), '\t', ' '); diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 57bd1bd70..41702c43d 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -390,8 +390,8 @@ void EpgPlus::ChannelEventEntry::paint(bool pisSelected, bool toggleColor) std::string shortepg = shortEpgData.info1; if(!shortepg.empty()) { - shortepg = str_replace("\n", " ", shortepg); shortepg = str_replace("\\n", " ", shortepg); + shortepg = str_replace("\n", " ", shortepg); shortepg = str_replace("\t", " ", shortepg); } this->footer->paintEventDetails(this->channelEvent.description, ret ? shortepg : "");