Skip to content

Commit

Permalink
parse nonbreaking spaces to regular spaces when formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 29, 2020
1 parent bc21d6d commit c30cfd9
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -128,6 +128,7 @@ public static TextComponent copyFormatToNewText(TextComponent last) {
}

public static BaseComponent[] parse(String str) {
str = str.replace((char) 0xA0, ' ');
char[] chars = str.toCharArray();
List<BaseComponent> outputList = new ArrayList<>();
int started = 0;
Expand Down

0 comments on commit c30cfd9

Please sign in to comment.