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 emails when using 'autolink' #193

Closed
jasonvarga opened this issue Jul 8, 2014 · 4 comments
Closed

Encoded emails when using 'autolink' #193

jasonvarga opened this issue Jul 8, 2014 · 4 comments

Comments

@jasonvarga
Copy link

It would be great if you could add support for encoding emails as specified in Gruber's spec.

http://daringfireball.net/projects/markdown/syntax#autolink

Currently, <address@example.com> gets parsed semi-correctly to <a href="mailto:address@example.com">address@example.com</a>

It should be parsed into this, though:

<a href="&#x6D;&#x61;i&#x6C;&#x74;&#x6F;:&#x61;&#x64;&#x64;&#x72;&#x65;
&#115;&#115;&#64;&#101;&#120;&#x61;&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;
&#109;">&#x61;&#x64;&#x64;&#x72;&#x65;&#115;&#115;&#64;&#101;&#120;&#x61;
&#109;&#x70;&#x6C;e&#x2E;&#99;&#111;&#109;</a>

You can see the difference on your demo page.

Thanks and keep up the great work!

@bastianallgeier
Copy link

👍

@starckio
Copy link

Please fix…

@apfelbox
Copy link
Contributor

See #212

@aidantwoods
Copy link
Collaborator

I think this is out of scope for now since it isn't part of CommonMark or the GitHub Flavoured extension.

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

Successfully merging a pull request may close this issue.

6 participants