<p>I observe this also for values of the <a href="https://wiki.openstreetmap.org/wiki/Key:source" rel="nofollow">source</a> key which  I sometimes use for dropping a list of links separated by ';' (example at: <a href="https://www.openstreetmap.org/way/547224603" rel="nofollow">https://www.openstreetmap.org/way/547224603</a>).</p>
<p>The value of source, just is like note, is free form text and, as <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=147741" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tomhughes">@tomhughes</a> points out, it is not simple to parse and generate correct links for urls present in such.</p>
<p>Some approaches I can think of to improve parsing;</p>
<ul>
<li>Support links delimited by double-quotes or angle brackets as <a href="https://tools.ietf.org/html/rfc3986#appendix-C" rel="nofollow">recommended in RFC 3986, appendix C</a></li>
<li>Assume that links are percent/url-encoded as per <a href="https://tools.ietf.org/html/rfc3986" rel="nofollow">RFC 3986</a> (ie. containing no <a href="https://tools.ietf.org/html/rfc3986#section-2.2" rel="nofollow">reserved characters</a> like ';' and space.</li>
</ul>
<p>Looking shortly into <a href="https://github.com/openstreetmap/openstreetmap-website/blob/1285bcbd712044720c15e2de2e6bacaf4b0b0a92/app/helpers/application_helper.rb#L4">linkify()</a> these might rather be feature requests to <a href="https://github.com/vmg/rinku">rinku</a> instead.</p>

<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/issues/1841?email_source=notifications&email_token=AAK2OLINHUFCREHNKX26FK3PYWRGFA5CNFSM4E4TVPCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW26QNY#issuecomment-498460727">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLORSRP5PYKRZPYFNQTPYWRGFANCNFSM4E4TVPCA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLNR7QDS6W7RLM2OUXLPYWRGFA5CNFSM4E4TVPCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW26QNY.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/issues/1841?email_source=notifications\u0026email_token=AAK2OLINHUFCREHNKX26FK3PYWRGFA5CNFSM4E4TVPCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW26QNY#issuecomment-498460727",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/1841?email_source=notifications\u0026email_token=AAK2OLINHUFCREHNKX26FK3PYWRGFA5CNFSM4E4TVPCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW26QNY#issuecomment-498460727",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>