From d7ac171666c479d53e16efdaf5391577be48dcf8 Mon Sep 17 00:00:00 2001 From: e551763 Date: Mon, 1 Jul 2024 09:32:57 +0200 Subject: [PATCH] fix: missing styles for some reports components Refs: #35 --- .../polarion/extension/pdf/exporter/converter/PdfConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/sbb/polarion/extension/pdf/exporter/converter/PdfConverter.java b/src/main/java/ch/sbb/polarion/extension/pdf/exporter/converter/PdfConverter.java index 232eccc..c355261 100644 --- a/src/main/java/ch/sbb/polarion/extension/pdf/exporter/converter/PdfConverter.java +++ b/src/main/java/ch/sbb/polarion/extension/pdf/exporter/converter/PdfConverter.java @@ -168,7 +168,7 @@ String getCssContent( String content = placeholderProcessor.replacePlaceholders(documentData, exportParams, css); String processed = velocityEvaluator.evaluateVelocityExpressions(documentData, content); - return (exportParams.getDocumentType() == DocumentType.WIKI) ? appendWikiCss(processed) : processed; + return (exportParams.getDocumentType() != DocumentType.DOCUMENT) ? appendWikiCss(processed) : processed; } @VisibleForTesting