- 🇵🇱Poland lamp5 Rzeszow
I was looking for similar solution because for default, I want to have all links with nofollow except links with rel attribute inputed by our editors using for example Editor Advanced Links.
"rel" attribute is replaced when the text filter 'Add rel="nofollow" to all links' is checked.
Ideally, if "noreferrer" is set, it should be kept, and nofollow should be appended to it. (rel="noreferrer" "indicates that no referrer information is to be leaked when following the link)
The code in question is in \Drupal\filter\Plugin\Filter\FilterHtml::filterAttributes
None
None
None
Active
10.1 ✨
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I was looking for similar solution because for default, I want to have all links with nofollow except links with rel attribute inputed by our editors using for example Editor Advanced Links.