HTMLRewriter treats self closing tags like <img/> as text
I am using HTMLRewriter to get the plain text of a website. Using the following code listening to the
text
event, it results in uggly <img ....../> or <iframe .../> being included in my result:
After transforming an html response, this is how response can look like:
0 Replies