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

encoded email address is split #393

Open
stepwright opened this issue Oct 4, 2022 · 0 comments
Open

encoded email address is split #393

stepwright opened this issue Oct 4, 2022 · 0 comments

Comments

@stepwright
Copy link

stepwright commented Oct 4, 2022

We currently use autolinker in conjunction with HTML entity encoder he. However, when combined together, an email address with an umlaut is not completely wrapped by the a tag.

For example the following email address is encoded by he:

fredblö[email protected] => fredblö[email protected]

The encoded email address is then put through autolinker and ends up with following:

fredbl&#xF6;<a href="mailto:[email protected]" class="autolink autolink-email" target="_self" rel="noopener noreferrer">[email protected]</a>

We use both of these as pipes within an angular component to format the content of form fields.

Has anyone come across this before, and is there a workaround? We have many European customers who use special characters such as umlauts within their email address. This is therefore becoming a bit of an issue.

Cheers

Steve

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

No branches or pull requests

1 participant