don't count >number% as quote
This commit is contained in:
parent
0904ba42f8
commit
bf07196707
|
@ -244,7 +244,7 @@ public class UIHelper {
|
||||||
} else if (previousWasNumber && (c == '.' || c == ',')) {
|
} else if (previousWasNumber && (c == '.' || c == ',')) {
|
||||||
previousWasNumber = false;
|
previousWasNumber = false;
|
||||||
} else {
|
} else {
|
||||||
return Character.isWhitespace(c) && previousWasNumber;
|
return (Character.isWhitespace(c) || c == '%' || c == '+') && previousWasNumber;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return previousWasNumber;
|
return previousWasNumber;
|
||||||
|
|
Loading…
Reference in a new issue