Commit eb37e40a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Koreus: fix on broken pages

(cherry picked from commit 12baf681cade7228219964d5b43fa5fc8ca2c3ce)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1b36256f
...@@ -40,7 +40,9 @@ function parse() ...@@ -40,7 +40,9 @@ function parse()
end end
if string.match( line, "<meta name=\"description\"" ) then if string.match( line, "<meta name=\"description\"" ) then
_,_,description = string.find( line, "content=\"(.-)\"" ) _,_,description = string.find( line, "content=\"(.-)\"" )
description = vlc.strings.resolve_xml_special_chars( description ) if (description ~= nil) then
description = vlc.strings.resolve_xml_special_chars( description )
end
end end
if string.match( line, "<meta name=\"author\"" ) then if string.match( line, "<meta name=\"author\"" ) then
_,_,artist = string.find( line, "content=\"(.-)\"" ) _,_,artist = string.find( line, "content=\"(.-)\"" )
......
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