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', [ $config->set('Attr.AllowedRel', [
'noreferrer' => true, 'noreferrer' => true,
'noopener' => true, 'noopener' => true,
'tag' => true,
]); ]);
$config->set('Attr.AllowedFrameTargets', [ $config->set('Attr.AllowedFrameTargets', [
'_blank' => true, '_blank' => true,