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

Ability to ignore HTML attributes #897

Open
joshuajaharwood opened this issue Dec 12, 2022 · 1 comment
Open

Ability to ignore HTML attributes #897

joshuajaharwood opened this issue Dec 12, 2022 · 1 comment

Comments

@joshuajaharwood
Copy link

Hello,

I'm using openhtmltopdf to generate PDF pages from a received email. Outlook emails generate an @page CSS selector by default, which breaks PDF formatting. Could there be support for ignoring certain attributes when rendering PDFs?

Many thanks,
Josh

@SharkFourSix
Copy link

One way you do that is pass the template into some XML/HTML manipulator to remove the attribute

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

2 participants