Author: duncan
Date: Fri Mar 16 20:28:24 2007
New Revision: 9336

Modified:
   branches/rel-1/freevo/src/util/fxdimdb.py

Log:
[ 1682345 ] IMDB plugin doesnt handle quote in movie title
Fix applied for " :))


Modified: branches/rel-1/freevo/src/util/fxdimdb.py
==============================================================================
--- branches/rel-1/freevo/src/util/fxdimdb.py   (original)
+++ branches/rel-1/freevo/src/util/fxdimdb.py   Fri Mar 16 20:28:24 2007
@@ -374,11 +374,11 @@
         s = contents.strip()
         s = s.replace('\n',' ')
         s = s.replace('  ',' ')
+        s = s.replace('&','&')
+        s = s.replace('&#','&#')
         s = s.replace('<','&lt;')
         s = s.replace('>','&gt;')
         s = s.replace('"','&quot;')
-        s = s.replace('&','&amp;')
-        s = s.replace('&amp;#','&#')
         return s
 
     def write_discset(self):

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to