tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

Having problem with '<' character in getHtmlDomArray #515

Open senhorwell opened 2 years ago

senhorwell commented 2 years ago

hello gentlemen,

I work at a company that uses this repository to generate PDF, and we're having a problem with the '<' character. When it is placed in the text, from there the code is broken.

image

In my tests, I saw that the snippet that is giving this error is relative to the tagpattern. I believe it is too broad, and we need you to adjust it so that we can continue to generate PDF for our customers.