Skip to content
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

How do we handle emails in angle brackets #179

Closed
CodePala opened this issue Jul 24, 2019 · 1 comment
Closed

How do we handle emails in angle brackets #179

CodePala opened this issue Jul 24, 2019 · 1 comment

Comments

@CodePala
Copy link

CodePala commented Jul 24, 2019

Team,

When we are using htmlsanitizer in an example like below, everything after left angle bracket is being removed. But we need to keep the emails in the text. How do we handle these scenarios?

Example : testuser <[email protected]> custom notes to user

When we use sanitizer, everything is being cleaned up in the above example except first word "testuser".

@mganss
Copy link
Owner

mganss commented Jul 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants