diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-08-14 20:21:39 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-08-15 22:12:51 +0200 |
commit | 7921fe2cd1b284b35c28419fdf78873af456fded (patch) | |
tree | 8406671ea8106a6bef4ee384bf2a17f3dc384d15 /builtin/modstore.lua | |
parent | a97c085e9e6f5e37c316aa5390f7cb05ad6bcacc (diff) | |
download | minetest-7921fe2cd1b284b35c28419fdf78873af456fded.tar.gz minetest-7921fe2cd1b284b35c28419fdf78873af456fded.tar.bz2 minetest-7921fe2cd1b284b35c28419fdf78873af456fded.zip |
Fix formspec escaping, add escaping to info.txt for texture packs.
Diffstat (limited to 'builtin/modstore.lua')
-rw-r--r-- | builtin/modstore.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/modstore.lua b/builtin/modstore.lua index 6d761d47c..e94c174c2 100644 --- a/builtin/modstore.lua +++ b/builtin/modstore.lua @@ -233,12 +233,12 @@ function modstore.getmodlist(list) --title + author retval = retval .."label[2.75," .. screenshot_ypos .. ";" .. - fs_escape_string(details.title) .. " (" .. details.author .. ")]" + engine.formspec_escape(details.title) .. " (" .. details.author .. ")]" --description local descriptiony = screenshot_ypos + 0.5 retval = retval .. "textarea[3," .. descriptiony .. ";6.5,1.55;;" .. - fs_escape_string(details.description) .. ";]" + engine.formspec_escape(details.description) .. ";]" --rating local ratingy = screenshot_ypos + 0.6 retval = retval .."label[10.1," .. ratingy .. ";Rating: " .. details.rating .."]" |