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:
commit
308cc6c776
|
@ -984,6 +984,7 @@ class HTML
|
|||
$config->set('Attr.AllowedRel', [
|
||||
'noreferrer' => true,
|
||||
'noopener' => true,
|
||||
'tag' => true,
|
||||
]);
|
||||
$config->set('Attr.AllowedFrameTargets', [
|
||||
'_blank' => true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user