[vlc-devel] commit: Dailymotion: fix double encoding in video description ( Fabio Ritrovato )

git version control git at videolan.org
Tue Jul 21 20:08:32 CEST 2009


vlc | branch: master | Fabio Ritrovato <exsephiroth87 at gmail.com> | Tue Jul 21 12:46:04 2009 +0200| [459af8fae97eb810178e6ddd953a64e33395dd60] | committer: Jean-Baptiste Kempf 

Dailymotion: fix double encoding in video description

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=459af8fae97eb810178e6ddd953a64e33395dd60
---

 share/lua/playlist/dailymotion.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/playlist/dailymotion.lua b/share/lua/playlist/dailymotion.lua
index eb6fb9d..fd88028 100644
--- a/share/lua/playlist/dailymotion.lua
+++ b/share/lua/playlist/dailymotion.lua
@@ -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




More information about the vlc-devel mailing list