|
|
@ -244,7 +244,8 @@ public class HTMLWorker implements SimpleXMLDocHandler, DocListener { |
|
|
|
} |
|
|
|
} |
|
|
|
if (tag.equals(HtmlTags.NEWLINE)) { |
|
|
|
if (tag.equals(HtmlTags.NEWLINE)) { |
|
|
|
if (currentParagraph == null) { |
|
|
|
if (currentParagraph == null) { |
|
|
|
currentParagraph = new Paragraph(); |
|
|
|
currentParagraph = FactoryProperties |
|
|
|
|
|
|
|
.createParagraph(cprops); |
|
|
|
} |
|
|
|
} |
|
|
|
currentParagraph.add(factoryProperties |
|
|
|
currentParagraph.add(factoryProperties |
|
|
|
.createChunk("\n", cprops)); |
|
|
|
.createChunk("\n", cprops)); |
|
|
@ -553,8 +554,7 @@ public class HTMLWorker implements SimpleXMLDocHandler, DocListener { |
|
|
|
} |
|
|
|
} |
|
|
|
if (tag.equals("a")) { |
|
|
|
if (tag.equals("a")) { |
|
|
|
if (currentParagraph == null) { |
|
|
|
if (currentParagraph == null) { |
|
|
|
currentParagraph = FactoryProperties |
|
|
|
currentParagraph = new Paragraph(); |
|
|
|
.createParagraph(cprops); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
boolean skip = false; |
|
|
|
boolean skip = false; |
|
|
|
if (interfaceProps != null) { |
|
|
|
if (interfaceProps != null) { |
|
|
|