Add export document pdf options

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-09-30 10:49:34 +02:00
parent f61ad48b59
commit 56a666b7e8
16 changed files with 814 additions and 61 deletions

View File

@@ -60,7 +60,6 @@ func TestRenderHTML(t *testing.T) {
"<td>1</td>",
"PUBLIC",
"John Doe",
"Test document description",
"Alice Smith",
},
},
@@ -80,7 +79,6 @@ func TestRenderHTML(t *testing.T) {
wantContains: []string{
"Test &amp;amp; &amp;lt;Script&amp;gt; Title",
"John &amp;lt;script&amp;gt;alert(&amp;#39;xss&amp;#39;)&amp;lt;/script&amp;gt; Doe",
"Description with &amp;amp; symbols and &amp;lt;tags&amp;gt;",
"Alice &amp;amp; &amp;lt;Bob&amp;gt;",
},
wantNotContains: []string{