From: Tim Allison Date: Thu, 31 Aug 2017 20:20:24 +0000 (+0000) Subject: While working on 61475, need to add a new line after picture text...not worth separat... X-Git-Tag: REL_3_17_FINAL~1^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bf28229cd706aea2f3e5b5e52a7b7cd88473b296;p=poi.git 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 --- 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 ae66ac9661..80b56c749b 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();