Commit 12baf681 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Koreus: fix on broken pages

parent 490033a2
...@@ -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