<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1689.">Resolves</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="276765649" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/1689" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/1689/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/1689">#1689</a>.<br>
This will recognize most, but not all, email values and create mailto: links for them.<br>
This uses a regex suggested by the <a href="https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address" rel="nofollow">W3C HTML spec</a>, which follows <a href="https://tools.ietf.org/html/rfc1123" rel="nofollow">RFC 1123</a> but not <a href="https://tools.ietf.org/html/rfc5322" rel="nofollow">RFC 5322</a>.<br>
A subset of valid emails containing comments, whitespace characters, and quoted strings will not be recognized and made into links.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2542'>https://github.com/openstreetmap/openstreetmap-website/pull/2542</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add  email link helper to create mailto: links for email values in objects</li>
  <li>Merge branch 'master' of github.com:openstreetmap/openstreetmap-website</li>
  <li>make email regex slightly more readable</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2542/files#diff-0">app/helpers/browse_tags_helper.rb</a>
    (29)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2542/files#diff-1">test/helpers/browse_tags_helper_test.rb</a>
    (72)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2542.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2542.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2542.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2542.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2542?email_source=notifications&email_token=AAK2OLJGEJ6OISVCXUNFAZ3RDK7F5A5CNFSM4KWVLMVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOC6BFQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKTR6CYBFZC7NAKSDTRDK7F5ANCNFSM4KWVLMVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLI4W4WGSJK4OLWDURDRDK7F5A5CNFSM4KWVLMVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOC6BFQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2542?email_source=notifications\u0026email_token=AAK2OLJGEJ6OISVCXUNFAZ3RDK7F5A5CNFSM4KWVLMVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOC6BFQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2542?email_source=notifications\u0026email_token=AAK2OLJGEJ6OISVCXUNFAZ3RDK7F5A5CNFSM4KWVLMVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOC6BFQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>