diff --git a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/HtmlProcessor.java b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/HtmlProcessor.java
index b5f0c0a5..e81b6fac 100644
--- a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/HtmlProcessor.java
+++ b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/HtmlProcessor.java
@@ -556,7 +556,7 @@ String adjustCellWidth(@NotNull String html, @NotNull ExportParams exportParams)
// This regexp searches for
or
elements of regular tables which width in styles specified in pixels ("px").
//
or
element till "width:" in styles matched into first unnamed group and width value - into second unnamed group.
// Then we replace matched content by first group content plus "auto" instead of value in pixels.
- html = RegexMatcher.get("(]+?width:.*?)(\\d+px)")
.replace(html, regexEngine -> regexEngine.group(1) + "auto");
}
diff --git a/src/main/resources/webapp/pdf-exporter/html/popupForm.html b/src/main/resources/webapp/pdf-exporter/html/popupForm.html
index ac39eeac..4541fddc 100644
--- a/src/main/resources/webapp/pdf-exporter/html/popupForm.html
+++ b/src/main/resources/webapp/pdf-exporter/html/popupForm.html
@@ -92,7 +92,7 @@