Fix flask-weasyprint