From 60176900fcc3236961d666221c665f542283b9ea Mon Sep 17 00:00:00 2001 From: Tim Allison Date: Thu, 31 Aug 2017 20:20:24 +0000 Subject: [PATCH] While working on 61475, need to add a new line after picture text...not worth separate ticket. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806843 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java index ae66ac966..80b56c749 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java @@ -1098,7 +1098,7 @@ public class XWPFRun implements ISDTContents, IRunElement, CharacterRun { } // Any picture text? if (pictureText != null && pictureText.length() > 0) { - text.append("\n").append(pictureText); + text.append("\n").append(pictureText).append("\n"); } c.dispose(); return text.toString();