danfickle / danfickle/openhtmltopdf

Force ignore some HTML tags converting to PDF/A

Open
#785 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

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 `

` 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](https://user-images.githubusercontent.com/54119913/142015566-ae3a4d6c-5794-46ba-b7fa-1ec1312936b9.png)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.