aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/java/eu/siacs/conversations/utils/UIHelper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/utils/UIHelper.java b/src/main/java/eu/siacs/conversations/utils/UIHelper.java
index ebb800d4..ae40fc08 100644
--- a/src/main/java/eu/siacs/conversations/utils/UIHelper.java
+++ b/src/main/java/eu/siacs/conversations/utils/UIHelper.java
@@ -201,6 +201,9 @@ public class UIHelper {
char first = l.charAt(0);
if (first != '>' && first != '\u00bb') {
String line = l.trim();
+ if (line.isEmpty()) {
+ continue;
+ }
char last = line.charAt(line.length()-1);
if (builder.length() != 0) {
builder.append(' ');