fix: unescape Twitch emotes even more (#5786)
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- Bugfix: Make macos fonts look the same as v2.5.1. (#5775)
|
- Bugfix: Make macos fonts look the same as v2.5.1. (#5775)
|
||||||
- Bugfix: Fixed 7TV usernames messing with Qt's HTML (#5780)
|
- Bugfix: Fixed 7TV usernames messing with Qt's HTML (#5780)
|
||||||
- Bugfix: Fixed BTTV emotes occasionally showing the wrong author. (#5783)
|
- Bugfix: Fixed BTTV emotes occasionally showing the wrong author. (#5783)
|
||||||
|
- Bugfix: Fixed some Twitch emotes containing HTML entities. (#5786)
|
||||||
- Dev: Hard-code Boost 1.86.0 in macos CI builders. (#5774)
|
- Dev: Hard-code Boost 1.86.0 in macos CI builders. (#5774)
|
||||||
|
|
||||||
## 2.5.2-beta.1
|
## 2.5.2-beta.1
|
||||||
|
|||||||
@@ -426,8 +426,8 @@ QString TwitchEmotes::cleanUpEmoteCode(const QString &dirtyEmoteCode)
|
|||||||
cleanCode.detach();
|
cleanCode.detach();
|
||||||
|
|
||||||
static QMap<QString, QString> emoteNameReplacements{
|
static QMap<QString, QString> emoteNameReplacements{
|
||||||
{"[oO](_|\\.)[oO]", "O_o"}, {"\\>\\;\\(", ">("},
|
{"[oO](_|\\.)[oO]", "O_o"}, {"\\>\\;\\(", ">("},
|
||||||
{"\\<\\;3", "<3"}, {"\\:-?(o|O)", ":O"},
|
{"\\<\\;3", "<3"}, {"\\:-?(o|O)", ":O"},
|
||||||
{"\\:-?(p|P)", ":P"}, {"\\:-?[\\\\/]", ":/"},
|
{"\\:-?(p|P)", ":P"}, {"\\:-?[\\\\/]", ":/"},
|
||||||
{"\\:-?[z|Z|\\|]", ":Z"}, {"\\:-?\\(", ":("},
|
{"\\:-?[z|Z|\\|]", ":Z"}, {"\\:-?\\(", ":("},
|
||||||
{"\\:-?\\)", ":)"}, {"\\:-?D", ":D"},
|
{"\\:-?\\)", ":)"}, {"\\:-?D", ":D"},
|
||||||
|
|||||||
Reference in New Issue
Block a user