summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-12 22:28:03 +0100
committerWuzzy <almikes@aol.com>2016-12-12 22:28:03 +0100
commiteb505cbf1e55f5fc4e872eef388c46ccfd814881 (patch)
tree454f060544fcf9b72ec01d939a956cd88140eff8
parenta45d72499f2fda5fbdff08053353a275155f94d3 (diff)
Add more newline2
-rw-r--r--init.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 27c7b46..ba6a544 100644
--- a/init.lua
+++ b/init.lua
@@ -309,10 +309,12 @@ doc.new_category("nodes", {
end
local datastring = ""
if longdesc ~= nil then
- datastring = datastring .. S("Description: @1", longdesc) .."\n\n"
+ datastring = datastring .. S("Description: @1", longdesc)
+ datastring = newline2(datastring)
end
if usagehelp ~= nil then
- datastring = datastring .. S("Usage help: @1", usagehelp) .. "\n\n"
+ datastring = datastring .. S("Usage help: @1", usagehelp)
+ datastring = newline2(datastring)
end
datastring = datastring .. S("Maximum stack size: @1", data.def.stack_max) .. "\n"
@@ -872,10 +874,12 @@ doc.new_category("craftitems", {
end
local datastring = ""
if longdesc ~= nil then
- datastring = datastring .. S("Description: @1", longdesc).."\n\n"
+ datastring = datastring .. S("Description: @1", longdesc)
+ datastring = newline2(datastring)
end
if usagehelp ~= nil then
- datastring = datastring .. S("Usage help: @1", usagehelp).. "\n\n"
+ datastring = datastring .. S("Usage help: @1", usagehelp)
+ datastring = newline2(datastring)
end
datastring = datastring .. S("Maximum stack size: @1", data.def.stack_max).. "\n"