Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting from HTML to PDF With mailTo links Issue #237

Open
hurricanetechnology opened this issue Oct 26, 2022 · 0 comments
Open

Converting from HTML to PDF With mailTo links Issue #237

hurricanetechnology opened this issue Oct 26, 2022 · 0 comments

Comments

@hurricanetechnology
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant