mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Escape package description in content tab
This commit is contained in:
parent
d57c936b08
commit
c247761213
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue