summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-01 02:54:43 +0200
committerWuzzy <almikes@aol.com>2016-08-01 02:54:43 +0200
commit96286d3618997b79168348e90fef2fef30940639 (patch)
treedf3f2f1c66243cc6d118d4fb2ec37a5c83209972 /init.lua
parent2156f463f4d3273b386f6aca72179c79b241fde6 (diff)
Update wheat/cotton plant texts
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index ae32417..3d09fc7 100644
--- a/init.lua
+++ b/init.lua
@@ -75,10 +75,10 @@ doc.new_category("nodes", {
end
formstring = formstring .. "textarea[0.25,1;10,8;;"
if longdesc ~= nil then
- formstring = formstring .. "Description: "..longdesc.."\n\n"
+ formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n"
end
if usagehelp ~= nil then
- formstring = formstring .. "Usage help: "..usagehelp .. "\n\n"
+ formstring = formstring .. "Usage help: "..minetest.formspec_escape(usagehelp).. "\n\n"
end
formstring = formstring .. "Maximum stack size: "..data.def.stack_max.. "\n"