]> source.dussan.org Git - poi.git/commitdiff
br is a line break, similar to cr
authorNick Burch <nick@apache.org>
Tue, 19 Oct 2010 16:04:50 +0000 (16:04 +0000)
committerNick Burch <nick@apache.org>
Tue, 19 Oct 2010 16:04:50 +0000 (16:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024301 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java

index c26cbf322d9ee0f8449cf58b2c64f3ea7b1574e2..067f2c0882094eec489b998a73cfb6a27154eb3a 100644 (file)
@@ -620,6 +620,9 @@ public class XWPFRun {
               if ("w:tab".equals(tagName)) {
                  text.append("\t");
               }
+              if ("w:br".equals(tagName)) {
+                 text.append("\n");
+              }
               if ("w:cr".equals(tagName)) {
                  text.append("\n");
               }