don't count >number% as quote

This commit is contained in:
Daniel Gultsch 2017-04-13 17:29:11 +02:00
parent 0904ba42f8
commit bf07196707

View File

@ -244,7 +244,7 @@ public class UIHelper {
} else if (previousWasNumber && (c == '.' || c == ',')) {
previousWasNumber = false;
} else {
return Character.isWhitespace(c) && previousWasNumber;
return (Character.isWhitespace(c) || c == '%' || c == '+') && previousWasNumber;
}
}
return previousWasNumber;