mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +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 desc = fgettext("No package description available")
|
||||
if info.description and info.description:trim() ~= "" then
|
||||
desc = info.description
|
||||
desc = core.formspec_escape(info.description)
|
||||
end
|
||||
|
||||
local title_and_name
|
||||
|
Loading…
Reference in New Issue
Block a user