diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index f733fd439..c7fe15d14 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -6599,13 +6599,12 @@ wstring CMinecraftApp::FormatHTMLString(int iPad, const wstring &desc, int shado //found list of html escapes at https://stackoverflow.com/questions/7381974/which-characters-need-to-be-escaped-in-html wstring CMinecraftApp::EscapeHTMLString(const wstring& desc) { - static std::unordered_map replacementMap = { - {L'&', L"&"}, - {L'<', L"<"}, - {L'>', L">"}, - {L'\"', L"""}, - {L'\'', L"'"}, - }; + static std::unordered_map replacementMap = { + {L'&', L"&"}, + {L'<', L"<"}, + {L'>', L">"}, + {L'\"', L"""}, + }; wstring finalString = L""; for (int i = 0; i < desc.size(); i++) {