Apparently only one atom:content is allowed

This commit is contained in:
Mikael Nordfeldth 2013-10-20 13:15:37 +02:00
parent 802734d07e
commit d632df320a

View File

@ -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)) {