From: acid-burn Date: Wed, 29 Sep 2010 07:28:40 +0000 (+0200) Subject: DreamInfoHandler.py: strip data. refs #578 X-Git-Tag: 3.0.0~28^2~6 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/3a44514adf9e366316213ba027d3e8808bad6b0c DreamInfoHandler.py: strip data. refs #578 --- diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py index 40305671..03d52157 100755 --- a/lib/python/Components/DreamInfoHandler.py +++ b/lib/python/Components/DreamInfoHandler.py @@ -123,7 +123,7 @@ class InfoHandler(xml.sax.ContentHandler): if self.elements[-1] == "shortdescription": self.attributes["shortdescription"] = str(data) if self.elements[-1] == "description": - self.data += data + self.data += data.strip() self.attributes["description"] = str(self.data) #print "characters", data