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

git version control git at videolan.org
Tue Jul 21 20:09:56 CEST 2009


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

Dailymotion: fix double encoding in video description

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 459af8fae97eb810178e6ddd953a64e33395dd60)

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

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

 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