sforkowany z mirror/friendica
Merge pull request #11199 from MrPetovan/bug/10060-mastodon-hashtag-links
Add rel="tag" to the HTML Purifier allow list in BBCode::convert2022.09-rc
commit
308cc6c776
|
@ -984,6 +984,7 @@ class HTML
|
|||
$config->set('Attr.AllowedRel', [
|
||||
'noreferrer' => true,
|
||||
'noopener' => true,
|
||||
'tag' => true,
|
||||
]);
|
||||
$config->set('Attr.AllowedFrameTargets', [
|
||||
'_blank' => true,
|
||||
|
|
Ładowanie…
Reference in New Issue