Ver código fonte

Minor correction to whitespace handling to ensure non space whitespace is always converted to a space

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@397556 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_93
Manuel Mall 18 anos atrás
pai
commit
31c9219456
2 arquivos alterados com 4 adições e 2 exclusões
  1. 1
    2
      src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java
  2. 3
    0
      status.xml

+ 1
- 2
src/java/org/apache/fop/fo/XMLWhiteSpaceHandler.java Ver arquivo

@@ -213,8 +213,7 @@ public class XMLWhiteSpaceHandler {
} else {
// this is to retain a single space between words
inWhiteSpace = true;
if (currentChar != '\u0020'
&& whiteSpaceTreatment == Constants.EN_PRESERVE) {
if (currentChar != '\u0020') {
charIter.replaceChar('\u0020');
}
}

+ 3
- 0
status.xml Ver arquivo

@@ -27,6 +27,9 @@

<changes>
<release version="FOP Trunk">
<action context="Code" dev="MM" type="fix">
Bugfix: TABs were not correctly replaced by spaces in some circumstances.
</action>
<action context="Code" dev="JM" type="update">
Content in block-containers makes better use of shrink to fit content vertically
into the available area. This can be used indirectly to justify content vertically

Carregando…
Cancelar
Salvar