Skip to content

encoded email address is split #393

@stepwright

Description

@stepwright

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions