diff --git a/src/main/java/sirius/web/templates/pdf/TagliatellePDFContentHandler.java b/src/main/java/sirius/web/templates/pdf/TagliatellePDFContentHandler.java index db75dceba..a96d3433a 100644 --- a/src/main/java/sirius/web/templates/pdf/TagliatellePDFContentHandler.java +++ b/src/main/java/sirius/web/templates/pdf/TagliatellePDFContentHandler.java @@ -78,6 +78,13 @@ public boolean generate(Generator generator, OutputStream out) throws Exception private String cleanHtml(String html) { Document document = Jsoup.parse(html); + // the parser is very strict in terms of what elements are accepted within the
element, and it does not + // know about additional valid elements like