Commit da4246d9 authored by Ilkka Ollakka's avatar Ilkka Ollakka

lua: youtube seems to do some (more) double encoding

(cherry picked from commit 27e2bbff)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent 6e0595fd
...@@ -68,6 +68,7 @@ function parse() ...@@ -68,6 +68,7 @@ function parse()
if string.match( line, "<meta name=\"title\"" ) then if string.match( line, "<meta name=\"title\"" ) then
_,_,name = string.find( line, "content=\"(.-)\"" ) _,_,name = string.find( line, "content=\"(.-)\"" )
name = vlc.strings.resolve_xml_special_chars( name ) name = vlc.strings.resolve_xml_special_chars( name )
name = vlc.strings.resolve_xml_special_chars( name )
end end
if string.match( line, "<meta name=\"description\"" ) then if string.match( line, "<meta name=\"description\"" ) then
-- Don't ask me why they double encode ... -- Don't ask me why they double encode ...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment