[ActivityPub][INBOX] CREATE NOTE now accepts <br> tag

This commit is contained in:
Diogo Peralta Cordeiro 2021-07-16 13:20:39 +01:00
parent 28a044077f
commit 4cc3a779b5
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ class Activitypub_notice
$actobj = new ActivityObject();
$actobj->type = ActivityObject::NOTE;
$actobj->content = strip_tags($content, '<p><b><i><u><a><ul><ol><li>');
$actobj->content = strip_tags($content, '<p><b><i><u><a><ul><ol><li><br>');
// Finally add the activity object to our activity
$act->objects[] = $actobj;