[vlc-commits] Koreus: fix lua escaping

Jean-Baptiste Kempf git at videolan.org
Tue Dec 9 18:52:32 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec  9 18:49:10 2014 +0100| [79db2468b244a6ca0d08cf61072b331f01fb93f7] | committer: Jean-Baptiste Kempf

Koreus: fix lua escaping

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79db2468b244a6ca0d08cf61072b331f01fb93f7
---

 share/lua/playlist/koreus.lua |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/playlist/koreus.lua b/share/lua/playlist/koreus.lua
index a7422c6..2385bdf 100644
--- a/share/lua/playlist/koreus.lua
+++ b/share/lua/playlist/koreus.lua
@@ -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



More information about the vlc-commits mailing list