How to parse HTML tags for the PDF generation class of PHP ?? When rich text with HTML tags is used to generate a pdf file, how can the generated pdf file correctly parse the html code like the browser ?? How to parse HTML tags for the PDF generation class of PHP ?? When rich text with HTML tags is used to generate a pdf file, how can the generated pdf file correctly parse the html code like the browser ??
Reply content:
How to parse HTML tags for the PDF generation class of PHP ?? When rich text with HTML tags is used to generate a pdf file, how can the generated pdf file correctly parse the html code like the browser ??
Since we have mentioned the PDF generation class, the link operation will naturally be performed when parsing php methods in the running class, and html can naturally be identified when it is finally output to the page layer.
If you want to find the root cause, you can look at the source code of these generated classes.
TCPDF