Count the length of the printed characters in JSReport
Hello @jan_blaha @bjrmatos
I'm trying to count the length of the comment field for one of my reports that has any html in it, so whenever I'm trying to find the length, it's counting tags.
My goal is to count the length of printed text with space and line breaks. Would you be able to help me with this? There are a few options I've tried, but I need DOM access for that, and I can't use that in JSreport.
I guess you will need to use some library that can parse html dom and then you go through tags and get back text. Like cheerio.