breezy-pdf-lite
breezy-pdf-lite copied to clipboard
Add support for a breezy-pdf-remove meta tag
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.
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.