[ActivityPub][INBOX] CREATE NOTE now accepts <br> tag
This commit is contained in:
parent
28a044077f
commit
4cc3a779b5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user