aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-05-05 14:01:09 +0300
committerGravatar Vitaly Takmazov2019-05-05 14:01:09 +0300
commita2555e8822370e0624f70573d8697631cb45f272 (patch)
tree783ffe6a6789b38cab95a53c29ea6fe09873299d /src/main/java/com
parent115f9c92a3488573871293b46210bf036d694367 (diff)
Carriage return in quote regex
As we did not clear carriage returns now from body quote regex was broken
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/juick/util/MessageUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java
index fa94e978..0afdfedb 100644
--- a/src/main/java/com/juick/util/MessageUtils.java
+++ b/src/main/java/com/juick/util/MessageUtils.java
@@ -93,7 +93,7 @@ public class MessageUtils {
private final static String underlineRegex = "((?<=\\s)|(?<=\\A))_([^\\_\\n<>]+)_((?=\\s)|(?=\\Z)|(?=\\p{Punct}))";
- private final static String citateRegex = "(?:(?<=\\n)|(?<=\\A))(?:&gt;|>) *(.*)?(\\n|(?=\\Z))";
+ private final static String citateRegex = "(?:(?<=\\n)|(?<=\\A))(?:&gt;|>) *(.*)?(\\r?\\n|(?=\\Z))";
public static List<Entity> getEntities(Message msg) {