You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I have experience a weird list index out of range when calling the write_html() method, after a few tracing I've found it in line 888 in file fpdf\html.py.
Thank you very much for reporting this bug.
We would be happy to fix this, but to do so a minimal code snippet reproducing the bug would be very handy indeed.
Hi everyone,
I have experience a weird list index out of range when calling the write_html() method, after a few tracing I've found it in line 888 in file fpdf\html.py.
The issue happened for the line
ol_type = self.ol_type[self.indent - 1]
A quickly fix on my side was
try: ol_type = self.ol_type[self.indent - 1] except: ol_type = self.ol_type[0]
The text was updated successfully, but these errors were encountered: