]> git.sesse.net Git - vlc/commitdiff
Koreus: fix lua escaping
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Dec 2014 17:49:10 +0000 (18:49 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Dec 2014 17:49:10 +0000 (18:49 +0100)
share/lua/playlist/koreus.lua

index a7422c69cdc01a79f4777e70c3b5b3eb18dee75a..2385bdf84a914a0b512cdaee34bdff8e29a08eba 100644 (file)
@@ -46,7 +46,7 @@ function parse()
             end
         end
         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 )
             description = description .. "\n\r" .. desc_spoil
         end