Browse Source

Pull request #441: REPORT-31492 word导出中Html无法解析小于号(漏提)

Merge in CORE/base-third from ~HUGH.C/base-third:bugfix/10.0 to bugfix/10.0

* commit 'ebcd76423c37ad888772b5b98dd68529cf2425a0':
  REPORT-31492 word导出中Html无法解析小于号(漏提)
bugfix/10.0
Hugh.C 5 years ago
parent
commit
e6d087c3c0
  1. 2
      fine-itext-old/src/com/fr/third/com/lowagie/text/xml/simpleparser/SimpleXMLParser.java

2
fine-itext-old/src/com/fr/third/com/lowagie/text/xml/simpleparser/SimpleXMLParser.java

@ -237,7 +237,7 @@ public final class SimpleXMLParser {
// we can encounter any content // we can encounter any content
case TEXT: case TEXT:
if(character == '<') { if(character == '<') {
beginnOfTag((char) reader.read(), UNKNOWN); beginnOfTag((char) reader.read(), TEXT);
} else if(character == '&') { } else if(character == '&') {
saveState(state); saveState(state);
entity.setLength(0); entity.setLength(0);

Loading…
Cancel
Save