Исправлена вырезка пауз с параметрами, например {w=.3}

This commit is contained in:
Victor 2015-04-06 17:57:23 +03:00
parent e94026e5b0
commit 5b47d95272

View File

@ -250,7 +250,7 @@ public final class ViewActivity extends Activity {
}
private Spannable formatString(String text) {
String edited = text.replace("{w}", "");
String edited = text.replaceAll("\\{w.*?\\}", "");
final char[] codes = {'b','i','s','u'};
boolean html = false;
for (int i = 0; i < codes.length; i++) {