aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-04-16 12:11:02 +0200
committerChristian Schneppe <christian@pix-art.de>2017-04-16 12:11:02 +0200
commit7722e6f03c3250c46a6ff4960705b143ee1bd621 (patch)
tree096a5594e7cee3a72bb0c2bd8b7c672f5f8337d7 /src/main/java
parent12db8cb60b29c54030e32eef6a8c4b1954b1ade1 (diff)
don't count >number% as quote
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/utils/UIHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/UIHelper.java b/src/main/java/de/pixart/messenger/utils/UIHelper.java
index 4f2c5a349..53727b8ee 100644
--- a/src/main/java/de/pixart/messenger/utils/UIHelper.java
+++ b/src/main/java/de/pixart/messenger/utils/UIHelper.java
@@ -253,7 +253,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;