Simplification

This commit is contained in:
M66B 2020-11-15 08:41:04 +01:00
parent ed792c240b
commit 3fb7f4556d
1 changed files with 1 additions and 1 deletions

View File

@ -2427,7 +2427,7 @@ public class HtmlHelper {
else if (kar == '\u00A0') else if (kar == '\u00A0')
ssb.replace(i, i + 1, ""); ssb.replace(i, i + 1, "");
else if (!Character.isLetterOrDigit(kar)) else if (!Character.isLetterOrDigit(kar))
ssb.replace(i, i + 1, "{" + Integer.toHexString((int) kar) + "}"); ssb.replace(i, i + 1, "{" + Integer.toHexString(kar) + "}");
} }
Object[] spans = ssb.getSpans(0, ssb.length(), Object.class); Object[] spans = ssb.getSpans(0, ssb.length(), Object.class);