forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -84,6 +84,8 @@ def SU(s: str) -> str:
|
||||
s = html.unescape(s)
|
||||
# Remplace les <br> par des <br/>
|
||||
s = re.sub(r"<br\s*>", "<br/>", s)
|
||||
# And substitute unicode characters not supported by ReportLab
|
||||
s = s.replace("‐", "-")
|
||||
return s
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user