diff options
author | Wuzzy <almikes@aol.com> | 2016-12-12 22:28:03 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-12 22:28:03 +0100 |
commit | eb505cbf1e55f5fc4e872eef388c46ccfd814881 (patch) | |
tree | 454f060544fcf9b72ec01d939a956cd88140eff8 | |
parent | a45d72499f2fda5fbdff08053353a275155f94d3 (diff) |
Add more newline2
-rw-r--r-- | init.lua | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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" |