node-html-to-text icon indicating copy to clipboard operation
node-html-to-text copied to clipboard

Non HTML Tags are removed

Open madhur opened this issue 8 years ago • 1 comments

My text contains some placeholders like <name> . These are removed from the processing. Is there a way to preserve this?

madhur avatar Mar 20 '17 14:03 madhur

You can use &lt; and &gt;. Currently there is no feature for ignoring tags cause there are handled by htmlparser2.

mlegenhausen avatar Mar 21 '17 07:03 mlegenhausen