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

Is it possible to detect plain text URLs and phone links and make it an actionable link? #68

Open
csfelipe opened this issue Aug 20, 2019 · 0 comments

Comments

@csfelipe
Copy link

Currently I use Mustache to display HTML articles that I retrieve from our web service.

I wanted to know if there's a way to make Mustache detect URLs and/or telephones without the href tag.

Mustache does its thing when we receive something like this:

  <p><a href=\ "http://www.instagram.com\">www.instagram.com</a>&nbsp;</p>
  <p><a href=\ "tel://+19145006953\" target=\ "_blank\">+19145006953</a></p>

But doesn't detect it anything when it's just raw:

<p>www.instagram.com</p>
<p>+19145006953</p>

Any suggestions? Thanks!

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