taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.11k stars 107 forks source link

Enquiry #266

Open olawalejuwonm opened 7 months ago

olawalejuwonm commented 7 months ago

Can this library be used to remove all HTML tags leaving only the text alone? If yes, how?

taoqf commented 6 months ago

Try root.text