From: Sergey Vladimirov Date: Fri, 22 Jul 2011 14:05:39 +0000 (+0000) Subject: fix missing spaces X-Git-Tag: REL_3_8_BETA4~98 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4997081f21a21502bdf47c1e198e69a1d634f6b1;p=poi.git fix missing spaces git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149609 13f79535-47bb-0310-9956-ffa450edef68 --- 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 );