mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue