mirror of
https://github.com/minetest/minetest.git
synced 2024-08-20 05:24:15 +02:00
Mainmenu: Escape server_favorite_delete path
No similar issues were found inside this file.
This commit is contained in:
parent
2183b35ba4
commit
8dcbca1068
@ -110,8 +110,8 @@ local function get_formspec(tabview, name, tabdata)
|
|||||||
if gamedata.fav then
|
if gamedata.fav then
|
||||||
retval = retval .. "tooltip[btn_delete_favorite;" .. fgettext("Remove favorite") .. "]"
|
retval = retval .. "tooltip[btn_delete_favorite;" .. fgettext("Remove favorite") .. "]"
|
||||||
retval = retval .. "style[btn_delete_favorite;padding=6]"
|
retval = retval .. "style[btn_delete_favorite;padding=6]"
|
||||||
retval = retval .. "image_button[5,1.3;0.5,0.5;" .. defaulttexturedir ..
|
retval = retval .. "image_button[5,1.3;0.5,0.5;" .. core.formspec_escape(defaulttexturedir ..
|
||||||
"server_favorite_delete.png;btn_delete_favorite;]"
|
"server_favorite_delete.png") .. ";btn_delete_favorite;]"
|
||||||
end
|
end
|
||||||
if gamedata.serverdescription then
|
if gamedata.serverdescription then
|
||||||
retval = retval .. "textarea[0.25,1.85;5.2,2.75;;;" ..
|
retval = retval .. "textarea[0.25,1.85;5.2,2.75;;;" ..
|
||||||
|
Loading…
Reference in New Issue
Block a user