[ActivityPub][INBOX] CREATE NOTE now accepts <br> tag
This commit is contained in:
parent
fbeadc1d49
commit
bb2c845f62
|
@ -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