Browse Source

REPORT-32986 html大写标签不生效

bugfix/10.0
Hugh.C 4 years ago
parent
commit
342e21e446
  1. 2
      fine-itext-old/src/main/java/com/fr/third/com/lowagie/text/xml/simpleparser/SimpleXMLParser.java

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

@ -506,7 +506,7 @@ public final class SimpleXMLParser {
if (c == -1) {
return;
}
if (c == '/' || HTMLWorker.tagsPrefixSupported.containsKey(c)) {
if (c == '/' || HTMLWorker.tagsPrefixSupported.containsKey(Character.toLowerCase(c))) {
if (type == TEXT) {
flush();
}

Loading…
Cancel
Save