[openstreetmap/openstreetmap-website] Pass on 'rel="me"' attribute for Mastodon Links (Issue #3859)

Tom Hughes notifications at github.com
Thu Dec 29 17:19:43 UTC 2022


The problem is that we have this in our sanitizer configuration:

```ruby
:add_attributes => { "a" => { "rel" => "nofollow noopener noreferrer" } },
```

in order to add various rel attributes, but that also has the effect of replacing any existing rel attribute.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3859#issuecomment-1367475884
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3859/1367475884 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221229/ca4a436b/attachment-0001.htm>


More information about the rails-dev mailing list