1
0
Fork 0
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:
BlackImpostor 2025-05-30 13:43:30 +03:00 committed by GitHub
parent 4291855c80
commit 84fe4abcfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"), "]"} )