aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorrandom-geek <35757396+random-geek@users.noreply.github.com>2018-12-10 12:25:56 -0800
committerrubenwardy <rw@rubenwardy.com>2018-12-10 20:25:56 +0000
commit98fa8a154d8136ad19d723fd89164c9d833da52b (patch)
treecfe6c66b9970fe3c5370c6d9c05982c271937998 /builtin
parentafaf7b901bfcceed1ca72c991ba2149137e989d3 (diff)
downloadminetest-98fa8a154d8136ad19d723fd89164c9d833da52b.tar.gz
minetest-98fa8a154d8136ad19d723fd89164c9d833da52b.tar.bz2
minetest-98fa8a154d8136ad19d723fd89164c9d833da52b.zip
Content store: Fix missing screenshot in package view dialog
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/dlg_contentstore.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/dlg_contentstore.lua b/builtin/mainmenu/dlg_contentstore.lua
index 8cd78f493..9abc76f3b 100644
--- a/builtin/mainmenu/dlg_contentstore.lua
+++ b/builtin/mainmenu/dlg_contentstore.lua
@@ -209,7 +209,7 @@ function package_dialog.get_formspec()
local formspec = {
"size[9,4;true]",
- "image[0,1;4.5,3;", get_screenshot(package), ']',
+ "image[0,1;4.5,3;", core.formspec_escape(get_screenshot(package)), ']',
"label[3.8,1;",
minetest.colorize(mt_color_green, core.formspec_escape(package.title)), "\n",
minetest.colorize('#BFBFBF', "by " .. core.formspec_escape(package.author)), "]",