mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-07-05 21:07:03 +00:00
fix: apostrophes rendering as ' in Iggy HTML chat labels
This commit is contained in:
parent
ee3cf5117b
commit
b4a34df1a9
|
|
@ -6732,6 +6732,8 @@ wstring CMinecraftApp::FormatChatMessage(const wstring& desc, bool applyStyling)
|
|||
results = replaceAll(results, L"§f", replacements);
|
||||
results = replaceAll(results, L"§r", replacements); //we only support color so reset is the same as white color
|
||||
|
||||
results = replaceAll(results, L"'", L"\u2019");
|
||||
|
||||
if (applyStyling) {
|
||||
std::wsmatch match;
|
||||
while (std::regex_search(results, match, IDS_Pattern)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue