We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775c9f4 commit b7634a7Copy full SHA for b7634a7
1 file changed
src/main/java/dev/demonz/zdiscord/util/ColorUtil.java
@@ -59,7 +59,7 @@ public static String toDiscordMarkdown(String text) {
59
boolean strike = false;
60
for (int i = 0; i < text.length(); i++) {
61
char c = text.charAt(i);
62
- if ((c == '&' || c == '§') && i + 1 < text.length()) {
+ if ((c == '&' || c == '\u00A7') && i + 1 < text.length()) {
63
char code = Character.toLowerCase(text.charAt(i + 1));
64
i++;
65
switch (code) {
0 commit comments