Merge pull request #11199 from MrPetovan/bug/10060-mastodon-hashtag-links

Add rel="tag" to the HTML Purifier allow list in BBCode::convert
This commit is contained in:
Tobias Diekershoff 2022-02-01 14:45:14 +01:00 committed by GitHub
commit 308cc6c776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -984,6 +984,7 @@ class HTML
$config->set('Attr.AllowedRel', [
'noreferrer' => true,
'noopener' => true,
'tag' => true,
]);
$config->set('Attr.AllowedFrameTargets', [
'_blank' => true,