diff --git a/app/scodoc/sco_pdf.py b/app/scodoc/sco_pdf.py index ffa11d2594..841f8b3fa5 100755 --- a/app/scodoc/sco_pdf.py +++ b/app/scodoc/sco_pdf.py @@ -84,6 +84,8 @@ def SU(s: str) -> str: s = html.unescape(s) # Remplace les
par des
s = re.sub(r"", "
", s) + # And substitute unicode characters not supported by ReportLab + s = s.replace("‐", "-") return s