From fb4225a377db503509785fac29ec76f7ee9f52ec Mon Sep 17 00:00:00 2001 From: Fuzzlemann Date: Sat, 29 Jul 2017 10:26:58 +0200 Subject: [PATCH] Fixed some bugs resulting of my changes --- .../main/java/com/djrapitops/plan/utilities/HtmlUtils.java | 4 +++- .../java/com/djrapitops/plan/utilities/analysis/Analysis.java | 2 +- .../com/djrapitops/plan/utilities/analysis/AnalysisUtils.java | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/HtmlUtils.java b/Plan/src/main/java/com/djrapitops/plan/utilities/HtmlUtils.java index 77b7078c3..5113bcef7 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/HtmlUtils.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/HtmlUtils.java @@ -181,12 +181,14 @@ public class HtmlUtils { Html.COLOR_A, Html.COLOR_B, Html.COLOR_C, Html.COLOR_D, Html.COLOR_E, Html.COLOR_F}; for (Html html : replacer) { - string = string.replace("§" + html.name().charAt(6), html.parse()); + string = string.replace("§" + Character.toLowerCase(html.name().charAt(6)), html.parse()); } + int spans = string.split("