Skip to content

Converting from HTML to PDF With mailTo links Issue #237

@hurricanetechnology

Description

@hurricanetechnology

I have an issue where my HTML works fine with MailTo links that have return-delimited text lines for the body section. That HTML has "%0A" to designate that the body portion of the MailTo should be on separate lines in the email. My email body should display, in my case, four separate return-delimited lines of text.

The HTML works as expected.

However, after conversion to PDF by pdfkit, the "%0A"s are not interpreted and appear in the email body when the mailto link is clicked (in the converted PDF). So, rather than several separate lines, the email body has a single line with "%0As" in the text itself (not interpreted by pdfkit).

I do not see the option to have pdfkit to interpret these URLEncoded return characters.

Again, the HTML works as expected with the "%0A"s in the body portion of the email when the mailto link is clicked.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions