Dailymotion: fix double encoding in video description
authorFabio Ritrovato <exsephiroth87@gmail.com>
Tue, 21 Jul 2009 10:46:04 +0000 (12:46 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 21 Jul 2009 16:29:18 +0000 (18:29 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
share/lua/playlist/dailymotion.lua

index eb6fb9d..fd88028 100644 (file)
@@ -85,7 +85,7 @@ function parse()
         end
         if string.match( line, "<meta name=\"description\"" )
         then
-            description = vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" lang=\".-\" content=\"(.-)\"" ) )
+            description = vlc.strings.resolve_xml_special_chars( vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" lang=\".-\" content=\"(.-)\"" ) ) )
         end
         if path and name and description and arturl then break end
     end