mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix: escape 7TV emote names (#5677)
This commit is contained in:
parent
f66bc37368
commit
74a385dfee
2 changed files with 5 additions and 2 deletions
|
@ -62,6 +62,7 @@
|
||||||
- Bugfix: Fixed incorrect message being disabled in some cases upon approving or denying an automod caught message. (#5611)
|
- Bugfix: Fixed incorrect message being disabled in some cases upon approving or denying an automod caught message. (#5611)
|
||||||
- Bugfix: Fixed double-click selection not working when clicking outside a message. (#5617)
|
- Bugfix: Fixed double-click selection not working when clicking outside a message. (#5617)
|
||||||
- Bugfix: Fixed emotes starting with ":" not tab-completing. (#5603)
|
- Bugfix: Fixed emotes starting with ":" not tab-completing. (#5603)
|
||||||
|
- Bugfix: Fixed 7TV emotes messing with Qt's HTML. (#5677)
|
||||||
- Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420)
|
- Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420)
|
||||||
- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422)
|
- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422)
|
||||||
- Dev: Unsingletonize `ISoundController`. (#5462)
|
- Dev: Unsingletonize `ISoundController`. (#5462)
|
||||||
|
|
|
@ -79,7 +79,8 @@ bool isZeroWidthRecommended(const QJsonObject &emoteData)
|
||||||
Tooltip createTooltip(const QString &name, const QString &author, bool isGlobal)
|
Tooltip createTooltip(const QString &name, const QString &author, bool isGlobal)
|
||||||
{
|
{
|
||||||
return Tooltip{QString("%1<br>%2 7TV Emote<br>By: %3")
|
return Tooltip{QString("%1<br>%2 7TV Emote<br>By: %3")
|
||||||
.arg(name, isGlobal ? "Global" : "Channel",
|
.arg(name.toHtmlEscaped(),
|
||||||
|
isGlobal ? "Global" : "Channel",
|
||||||
author.isEmpty() ? "<deleted>" : author)};
|
author.isEmpty() ? "<deleted>" : author)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +88,8 @@ Tooltip createAliasedTooltip(const QString &name, const QString &baseName,
|
||||||
const QString &author, bool isGlobal)
|
const QString &author, bool isGlobal)
|
||||||
{
|
{
|
||||||
return Tooltip{QString("%1<br>Alias of %2<br>%3 7TV Emote<br>By: %4")
|
return Tooltip{QString("%1<br>Alias of %2<br>%3 7TV Emote<br>By: %4")
|
||||||
.arg(name, baseName, isGlobal ? "Global" : "Channel",
|
.arg(name.toHtmlEscaped(), baseName.toHtmlEscaped(),
|
||||||
|
isGlobal ? "Global" : "Channel",
|
||||||
author.isEmpty() ? "<deleted>" : author)};
|
author.isEmpty() ? "<deleted>" : author)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue