Fix formspec injection issues

This commit is contained in:
Zefram
2014-04-29 17:53:43 +01:00
джерело 76a2337c59
коміт 20cf474886
3 змінених файлів з 8 додано та 8 видалено

@ -76,7 +76,7 @@ function unified_inventory.get_formspec(player, page)
formspec = formspec.."label[8.2,0;Page:]"
formspec = formspec.."label[9,0;"..page.." of "..pagemax.."]"
formspec = formspec.."label[8.2,0.4;Filter:]"
formspec = formspec.."label[9,0.4;"..unified_inventory.activefilter[player_name].."]"
formspec = formspec.."label[9,0.4;"..minetest.formspec_escape(unified_inventory.activefilter[player_name]).."]"
return formspec
end