forked from GNUsocial/gnu-social
Apparently only one atom:content is allowed
This commit is contained in:
parent
802734d07e
commit
d632df320a
@ -701,11 +701,6 @@ class ActivityObject
|
|||||||
array('type' => 'html'),
|
array('type' => 'html'),
|
||||||
common_xml_safe_str($this->content)
|
common_xml_safe_str($this->content)
|
||||||
);
|
);
|
||||||
$xo->element(
|
|
||||||
ActivityUtils::CONTENT,
|
|
||||||
array('type' => 'text'),
|
|
||||||
html_entity_decode(strip_tags($this->content), ENT_QUOTES, 'UTF-8')
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($this->link)) {
|
if (!empty($this->link)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user