mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Whitespace fix
This commit is contained in:
parent
4291855c80
commit
84fe4abcfd
1 changed files with 3 additions and 4 deletions
|
@ -244,7 +244,7 @@ local function get_formspec(data)
|
||||||
ui.update()
|
ui.update()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function markup(text)
|
local function markup(text)
|
||||||
text = text:gsub("(%*%*)([^%s][^*]-[^%s])%*%*", "<b>%2</b>")
|
text = text:gsub("(%*%*)([^%s][^*]-[^%s])%*%*", "<b>%2</b>")
|
||||||
text = text:gsub("(%*)([^%s][^*]-[^%s])%*", "<i>%2</i>")
|
text = text:gsub("(%*)([^%s][^*]-[^%s])%*", "<i>%2</i>")
|
||||||
|
@ -268,9 +268,8 @@ local function get_formspec(data)
|
||||||
:gsub("[\r\n]+$", ""))
|
:gsub("[\r\n]+$", ""))
|
||||||
.."\n"
|
.."\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
hypertext = hypertext..
|
hypertext = hypertext.."\n"
|
||||||
"\n"
|
|
||||||
end
|
end
|
||||||
elseif data.releases_error then
|
elseif data.releases_error then
|
||||||
table.insert_all(formspec, {"label[2,2;", fgettext("Error loading releases"), "]"} )
|
table.insert_all(formspec, {"label[2,2;", fgettext("Error loading releases"), "]"} )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue