mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Updater: Escape HTML characters in commit descriptions
This commit is contained in:
@ -109,10 +109,10 @@ 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>());
|
||||
changelog += " by <a href = \"" + ver_obj["author_url"].get<std::string>() + "\">" +
|
||||
ver_obj["author"].get<std::string>() + "</a> — " +
|
||||
ver_obj["short_descr"].get<std::string>();
|
||||
ver_obj["author"].get<std::string>() + "</a> — " + escaped_description;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user