Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AssertionError: Got ' /' between two lines. Expected nothing or a preserved line break #389
This issue is similar, to #313, however I hope that I can provide enough information to reproduce the problem.
I get this error on the following HTML file (had to change the suffix to txt in order to embed in inside this issue):
The crash is dependent on the selected font, i.e. WeasyPrint crashes if the font is DejaVu, but may not crash on other fonts. I am using WeasyPrint 0.31 on a CentOS 6.8 system with the standard DejaVu fonts:
I think the problem is that WeasyPrint it trying to break the line after the
Here is the Python 3 traceback:
Thank you for providing WeasyPrint!