fix: escape more 7tv things (#5780)
This commit is contained in:
@@ -81,7 +81,8 @@ Tooltip createTooltip(const QString &name, const QString &author, bool isGlobal)
|
||||
return Tooltip{QString("%1<br>%2 7TV Emote<br>By: %3")
|
||||
.arg(name.toHtmlEscaped(),
|
||||
isGlobal ? "Global" : "Channel",
|
||||
author.isEmpty() ? "<deleted>" : author)};
|
||||
author.isEmpty() ? "<deleted>"
|
||||
: author.toHtmlEscaped())};
|
||||
}
|
||||
|
||||
Tooltip createAliasedTooltip(const QString &name, const QString &baseName,
|
||||
@@ -90,7 +91,8 @@ Tooltip createAliasedTooltip(const QString &name, const QString &baseName,
|
||||
return Tooltip{QString("%1<br>Alias of %2<br>%3 7TV Emote<br>By: %4")
|
||||
.arg(name.toHtmlEscaped(), baseName.toHtmlEscaped(),
|
||||
isGlobal ? "Global" : "Channel",
|
||||
author.isEmpty() ? "<deleted>" : author)};
|
||||
author.isEmpty() ? "<deleted>"
|
||||
: author.toHtmlEscaped())};
|
||||
}
|
||||
|
||||
CreateEmoteResult createEmote(const QJsonObject &activeEmote,
|
||||
|
||||
Reference in New Issue
Block a user