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

Emails #9

Open
kethomassen opened this issue Aug 30, 2013 · 1 comment
Open

Emails #9

kethomassen opened this issue Aug 30, 2013 · 1 comment

Comments

@kethomassen
Copy link

Email support

Add email support when autolinking strings. (mailto)

Example

Input:

Go to http://www.rubyonrails.org and say hello to [email protected]

Output:

Go to <a href=\"http://www.rubyonrails.org\">http://www.rubyonrails.org</a> and say hello to <a href=\"mailto:[email protected]\">[email protected]</a>
@bryanwoods
Copy link
Owner

I'd be interested in supporting this if you could enable it with a parameter such as:

"Go to http://www.rubyonrails.org and say hello to [email protected]".autoLink(
  emailAddress: true
)

Since for my production use case we explicitly do not want to autolink email addresses.

I'd love to merge a pull request that implemented this feature. :)

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

2 participants