breezy-pdf-lite icon indicating copy to clipboard operation
breezy-pdf-lite copied to clipboard

Add support for a breezy-pdf-remove meta tag

Open danielwestendorf opened this issue 4 years ago • 1 comments

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 avatar Jan 18 '20 00:01 danielwestendorf

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.

danielwestendorf avatar Jan 18 '20 00:01 danielwestendorf