Commit 23d77330 authored by Antoine Cellerier's avatar Antoine Cellerier
Browse files

Fix lua error reported by ConfusedVorlon.

parent 62d4d133
......@@ -122,7 +122,7 @@ local vout = input and vlc.object.find(input,'vout','child')
for k, v in pairs(info) do
print("<category name='"..k.."'>")
for k2, v2 in pairs(v) do
print("<info name='"..k2.."'>"..v2.replace('&','&amp;').."</info>")
print("<info name='"..k2.."'>"..string.gsub(v2,'&','&amp;').."</info>")
end
print("</category>")
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