StringUtil: Move GetEscapedHtml() into Common namespace

This commit is contained in:
Lioncash
2023-05-16 14:21:19 -04:00
parent 21df3ca572
commit d368c989e7
4 changed files with 8 additions and 8 deletions

View File

@ -118,7 +118,7 @@ std::string GenerateChangelog(const picojson::array& versions)
changelog += ver_obj["shortrev"].get<std::string>();
}
const std::string escaped_description =
GetEscapedHtml(ver_obj["short_descr"].get<std::string>());
Common::GetEscapedHtml(ver_obj["short_descr"].get<std::string>());
changelog += " by <a href = \"" + ver_obj["author_url"].get<std::string>() + "\">" +
ver_obj["author"].get<std::string>() + "</a> &mdash; " + escaped_description;
}