Smarter end check
I think it's smarter?
This commit is contained in:
@@ -708,14 +708,16 @@ public class UI implements ApplicationListener, Loadable{
|
|||||||
buffer.append(ch);
|
buffer.append(ch);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(ch == ' '){
|
if(ch == ':'){
|
||||||
buffer.append(s, indexStart, i + 1);
|
|
||||||
indexStart = -1;
|
|
||||||
}else if(ch == ':'){
|
|
||||||
String content = s.substring(indexStart + 1, i);
|
String content = s.substring(indexStart + 1, i);
|
||||||
buffer.append(Fonts.getUnicodeStr(content));
|
if(Fonts.hasUnicodeStr(content)){
|
||||||
indexStart = -1;
|
buffer.append(Fonts.getUnicodeStr(content));
|
||||||
changed = true;
|
changed = true;
|
||||||
|
indexStart = -1;
|
||||||
|
}else{
|
||||||
|
buffer.append(content);
|
||||||
|
indexStart = i;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user