-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erroneously removes > #37
Comments
Why you do not escape both? |
But that's assuming the source text has escaped it. If we don't control where the input comes from, a string like |
Though I suppose this is actually a problem with tautologistics/node-htmlparser#72 |
This issue seem to be outdated. I can't reproduce it. GitBash under Windows: $ echo "<b>Hello" | node.exe ./bin/cli.js
<b>Hello pwsh under Windows: PS> echo "<b>Hello" | node ./bin/cli.js
<b>Hello
PS> echo "<p> Good > Bad </p>" | node ./bin/cli.js
Good > Bad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
html-to-text removes >, even if the < is escaped.
The text was updated successfully, but these errors were encountered: