From e368b424cdf4048ecd6fba2b0d5c0f08f8cb208c Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Wed, 18 Dec 2024 13:08:31 +0100 Subject: [PATCH] fix: xhtml2pdf bug on breaking elements --- regdid/templates/regdid_generate_pdf.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/regdid/templates/regdid_generate_pdf.html b/regdid/templates/regdid_generate_pdf.html index bd0a5ab6..910aa875 100644 --- a/regdid/templates/regdid_generate_pdf.html +++ b/regdid/templates/regdid_generate_pdf.html @@ -52,7 +52,7 @@
- +
Regolamento didattico del
@@ -62,16 +62,16 @@
- +
- -
- + + + Indice
- +
@@ -79,9 +79,9 @@
- -
- + + +
{% autoescape off %} @@ -101,6 +101,7 @@
{% if article.testo_it %} +   {{ article.testo_it }} {% else %}

@@ -117,6 +118,7 @@ Art. {{struct.numero}} {% latin_enum forloop.counter0 %} - {{sub_art.titolo_it}}

+   {{sub_art.testo_it}}