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

Add support for a breezy-pdf-remove meta tag #87

Open
danielwestendorf opened this issue Jan 18, 2020 · 1 comment
Open

Add support for a breezy-pdf-remove meta tag #87

danielwestendorf opened this issue Jan 18, 2020 · 1 comment

Comments

@danielwestendorf
Copy link
Owner

danielwestendorf commented Jan 18, 2020

Allow <meta name="breezy-pdf-remove" content="$CSS_SELECTOR"> tags to specify content that should automatically be striped from the HTML string prior to render.

@danielwestendorf
Copy link
Owner Author

We currently use JSDOM to pluck out the meta tags. We should unify the JSDOM initialization here and only do that once, along with any removal manipulation that needs to happen as a result of this issue.

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