<p></p>
<p dir="auto">I had an <em>extremely</em> quick look to the meaning of the various 'relation'-values. IMHO, using <code class="notranslate">rel="me noopener nofollow noreferrer"</code> would be fine, even though the combination of <code class="notranslate">me</code> and <code class="notranslate">nofollow</code> seem a bit contradictory. The <code class="notranslate">nofollow</code> signals that <em>OpenStreetMap.org does not endorse the link</em> while the <code class="notranslate">me</code> signals that <em>this user has this mastodon account</em> (but I'm not an expert in these matters. But maybe I should add a few of those tags on user-generated links in MapComplete too).</p>
<p dir="auto">I'm not familiar with Ruby; but it seems that <a href="https://github.com/rgrove/sanitize#custom-configuration">this</a> library is used for sanitation, which uses a whitelist of what is allowed. As <code class="notranslate">rel</code>-tags are <em>not</em> in this configuration; they are dropped before adding the <code class="notranslate">noreferer nofollow noopener</code> again.</p>
<p dir="auto">I do think that adding <code class="notranslate">:attributes => {"a" => {"rel" => "me"} }</code> might just work to keep the <code class="notranslate">rel=me</code> intact.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3859#issuecomment-1367487064">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIAQVJFYIU7VQXGSDDWPXEN5ANCNFSM6AAAAAATJGBQQA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMK5KXZ5YLL5MMW6O3WPXEN5A5CNFSM6AAAAAATJGBQQCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSRQIZFQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3859/1367487064</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3859#issuecomment-1367487064",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3859#issuecomment-1367487064",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>