openhtmltopdf icon indicating copy to clipboard operation
openhtmltopdf copied to clipboard

Force ignore some HTML tags converting to PDF/A

Open vvkin opened this issue 3 years ago • 0 comments

Is it possible to mark some HTML tags to be ignored converting to PDF/A? The thing is, in our HTML templates we have a lot of nested <div> tags, which is quite typical for HTML. But, on the other hand, it's better to avoid it in PDF/A document tags. I mean, create PDF according to HTML structure, but just do not add some HTML tags to PDF tags. Please, find the attached screenshot below.

image

It would be nice to make it possible to add some custom HTML/CSS attributes to mark a particular tag ignored.

vvkin avatar Nov 16 '21 15:11 vvkin