Bug description
When linking to an email address the URI has to be written as mailto://someone@example.com instead of mailto:someone@example.com. Only the second form is correct according to the standard.
Expected behaviour
The second form should work as expected and generate the link. Github's Markdown does it correctly.
Steps to reproduce
Write a comment on reddit containing the code
[test](mailto:someone@example.com)
which should be equivalent to the current
[test](mailto://someone@example.com)
Proposed fix
Remove the slashes in src/autolink.c to accept 'mailto:'. This will also keep backwards compatibility with the existing 'mailto://' links.
The code over at reddit is already correct.
Bug description
When linking to an email address the URI has to be written as
mailto://someone@example.cominstead ofmailto:someone@example.com. Only the second form is correct according to the standard.Expected behaviour
The second form should work as expected and generate the link. Github's Markdown does it correctly.
Steps to reproduce
Write a comment on reddit containing the code
which should be equivalent to the current
Proposed fix
Remove the slashes in src/autolink.c to accept 'mailto:'. This will also keep backwards compatibility with the existing 'mailto://' links.
The code over at reddit is already correct.