escaped modlist inner html
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
fa7cfc77d8
commit
908ac813e0
@ -362,9 +362,9 @@ void FlamePackExportTask::buildZip()
|
|||||||
for (auto mod : resolvedFiles) {
|
for (auto mod : resolvedFiles) {
|
||||||
if (mod.isMod) {
|
if (mod.isMod) {
|
||||||
content += QString(TEMPLATE)
|
content += QString(TEMPLATE)
|
||||||
.replace("{name}", mod.name)
|
.replace("{name}", mod.name.toHtmlEscaped())
|
||||||
.replace("{url}", ModPlatform::getMetaURL(ModPlatform::ResourceProvider::FLAME, mod.addonId))
|
.replace("{url}", ModPlatform::getMetaURL(ModPlatform::ResourceProvider::FLAME, mod.addonId).toHtmlEscaped())
|
||||||
.replace("{authors}", !mod.authors.isEmpty() ? QString(" (by %1)").arg(mod.authors) : "");
|
.replace("{authors}", !mod.authors.isEmpty() ? QString(" (by %1)").arg(mod.authors).toHtmlEscaped() : "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
content = "<ul>" + content + "</ul>";
|
content = "<ul>" + content + "</ul>";
|
||||||
|
Loading…
Reference in New Issue
Block a user