summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-09-03 11:01:07 +0300
committerVaadin Code Review <review@vaadin.com>2013-09-03 08:20:11 +0000
commitfca0f7a6b70160e94d4504537110d7689a3c4344 (patch)
treee38e0b7e2c3f564d24d862107aa2d386974b8d79
parentde53191998be79268b78e6589173ed71171d9185 (diff)
downloadvaadin-framework-fca0f7a6b70160e94d4504537110d7689a3c4344.tar.gz
vaadin-framework-fca0f7a6b70160e94d4504537110d7689a3c4344.zip
Add <br> as empty representation for webkit (#12490)7.1.4
Change-Id: Idfb1c770d411b0516046e40852b79da6f9c7916c
-rw-r--r--client/src/com/vaadin/client/ui/VRichTextArea.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/VRichTextArea.java b/client/src/com/vaadin/client/ui/VRichTextArea.java
index 34693ce392..0b2c1e574c 100644
--- a/client/src/com/vaadin/client/ui/VRichTextArea.java
+++ b/client/src/com/vaadin/client/ui/VRichTextArea.java
@@ -403,7 +403,7 @@ public class VRichTextArea extends Composite implements Field, KeyPressHandler,
result = "";
}
} else if (browser.isWebkit()) {
- if ("<div><br></div>".equals(result)) {
+ if ("<br>".equals(result) || "<div><br></div>".equals(result)) {
result = "";
}
} else if (browser.isIE()) {