Add escape sequence '&color;' support for webprefix/websuffix - avoid frequent editor code page problems.
This commit is contained in:
parent
39a6bee3ca
commit
abd7c25d80
4 changed files with 14 additions and 5 deletions
|
|
@ -10,4 +10,12 @@ public abstract class Component {
|
|||
|
||||
public void dispose() {
|
||||
}
|
||||
|
||||
/* Substitute proper values for escape sequences */
|
||||
public static String unescapeString(String v) {
|
||||
/* Replace color code &color; */
|
||||
v = v.replaceAll("&color;", "\u00A7");
|
||||
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue