From 4997081f21a21502bdf47c1e198e69a1d634f6b1 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Fri, 22 Jul 2011 14:05:39 +0000 Subject: [PATCH] fix missing spaces git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149609 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/converter/AbstractWordConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java index 38968f082f..dbb337a8f2 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/AbstractWordConverter.java @@ -303,7 +303,7 @@ public abstract class AbstractWordConverter // Non-required hyphens to zero-width space stringBuilder.append( UNICODECHAR_ZERO_WIDTH_SPACE ); } - else if ( charChar > 0x20 || charChar == 0x09 + else if ( charChar >= 0x20 || charChar == 0x09 || charChar == 0x0A || charChar == 0x0D ) { stringBuilder.append( charChar ); -- 2.39.5