Escape package description in content tab

This commit is contained in:
ROllerozxa 2023-09-22 21:25:58 +02:00 committed by GitHub
parent d57c936b08
commit c247761213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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