WeasyPrint
WeasyPrint copied to clipboard
Follow HTML specification to set attachments filenames
When using the download attribute with an <a> tag the value is not used in the 'name' field for pdf attachments, the linked filename is used instead. If using a data url no name is passed and attachments cannot be opened.