[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 fbeadc1d49
commit bb2c845f62

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;