Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-05 07:40:11 +01:00
Fix quotes breaking formatted message strings (#1118)
Dieser Commit ist enthalten in:
Ursprung
c7958af1db
Commit
b84986a502
@ -122,7 +122,7 @@ public class LanguageUtils {
|
|||||||
formatString = key;
|
formatString = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
return MessageFormat.format(formatString.replace("&", "\u00a7"), values);
|
return MessageFormat.format(formatString.replace("'", "''").replace("&", "\u00a7"), values);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren