mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Escape package description in content tab
This commit is contained in:
parent
d57c936b08
commit
c247761213
@ -86,7 +86,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||||||
local info = core.get_content_info(selected_pkg.path)
|
local info = core.get_content_info(selected_pkg.path)
|
||||||
local desc = fgettext("No package description available")
|
local desc = fgettext("No package description available")
|
||||||
if info.description and info.description:trim() ~= "" then
|
if info.description and info.description:trim() ~= "" then
|
||||||
desc = info.description
|
desc = core.formspec_escape(info.description)
|
||||||
end
|
end
|
||||||
|
|
||||||
local title_and_name
|
local title_and_name
|
||||||
|
Loading…
Reference in New Issue
Block a user