add comment

This commit is contained in:
onebeastchris 2024-05-29 23:39:18 +02:00
parent 9b1fa74c97
commit ebdcc3b514

View file

@ -409,6 +409,7 @@ public class MessageTranslator {
whitespacesCount++; whitespacesCount++;
} else { } else {
startWhitespaces = false; startWhitespaces = false;
// Replace non-breaking spaces with regular spaces for normalization
newChars[count++] = (actualChar == '\u00A0' ? ' ' : actualChar); newChars[count++] = (actualChar == '\u00A0' ? ' ' : actualChar);
whitespacesCount = 0; whitespacesCount = 0;
} }