Skip to content

Commit

Permalink
fix docs again
Browse files Browse the repository at this point in the history
  • Loading branch information
AyhamAl-Ali committed Mar 31, 2024
1 parent 4c8b2e5 commit 8d188c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/doc/Documentation.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public static String escapeHTML(@Nullable String value) {
assert false;
return "";
}
return HTMLGenerator.introduceSkwipt("" + value.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;"));
return "" + HTMLGenerator.introduceSkwipt(value).replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;");
}

public static String[] escapeHTML(@Nullable String[] values) {
Expand Down

0 comments on commit 8d188c3

Please sign in to comment.