op.htmlToDoc.HtmlInput = true vs op.htmlToDoc.HtmlInput = false
Posted: Thu Jun 05, 2025 7:47 am
Hi Support,
I'm converting HTML to PDF and all ok so far ...
I've noticed non-expected differences when HtmlInput is html string vs html file.
In case of HtmlInput = false, and Input (array) has a string pointing to a file on file system ... all ok.
But, in case of HtmlInput = true, and Input has a string containing the html ... rendering looks slightly different (css embedded in html), but more importantly "<a href..>'s are NOT converted to URI links.
I guess the reason is related to how you create URI value and when HtmlInput= true, the path cannot be determined: viewtopic.php?t=46577
-žarko
I'm converting HTML to PDF and all ok so far ...
I've noticed non-expected differences when HtmlInput is html string vs html file.
In case of HtmlInput = false, and Input (array) has a string pointing to a file on file system ... all ok.
But, in case of HtmlInput = true, and Input has a string containing the html ... rendering looks slightly different (css embedded in html), but more importantly "<a href..>'s are NOT converted to URI links.
I guess the reason is related to how you create URI value and when HtmlInput= true, the path cannot be determined: viewtopic.php?t=46577
-žarko