Commit 52a4d235 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Koreus: fix lua escaping

(cherry picked from commit 79db2468b244a6ca0d08cf61072b331f01fb93f7)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 48c98a0e
...@@ -46,7 +46,7 @@ function parse() ...@@ -46,7 +46,7 @@ function parse()
end end
end end
if string.match( line, "<span id=\"spoil\" style=\"display:none\">" ) then if string.match( line, "<span id=\"spoil\" style=\"display:none\">" ) then
_,_,desc_spoil = string.find( line, "<span id=\"spoil\" style=\"display:none\">(.-)<\/span>" ) _,_,desc_spoil = string.find( line, "<span id=\"spoil\" style=\"display:none\">(.-)</span>" )
desc_spoil = vlc.strings.resolve_xml_special_chars( desc_spoil ) desc_spoil = vlc.strings.resolve_xml_special_chars( desc_spoil )
description = description .. "\n\r" .. desc_spoil description = description .. "\n\r" .. desc_spoil
end end
......
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