danfickle / danfickle/openhtmltopdf
Fail to reder pdf because of recursive rendering image resource in html content
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hi Dan,
Something I encountered lately when playing around with openhtmltopdf lib. I don't know if this a known (if so sorry for this duplicate ticket) or even an issue. Following scenario example: I am rendering HTML content to a PDF file. In the HTML content there is an image tag, with com.openhtmltopdf.load -> com.openhtmltopdf.match -> com.openhtmltopdf.load -> com.openhtmltopdf.match ...
This is happening because the scenario looks like it tries to load image/pdf into image/pdf recursively.
The question is, should openhtmltopdf detects this recursive call and catch with an exception or is this something the service application needs to handle?

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.