]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'master' of gitorious.org:statusnet/mainline into feedfix
authorBrion Vibber <brion@pobox.com>
Thu, 30 Sep 2010 18:31:29 +0000 (11:31 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 30 Sep 2010 18:31:29 +0000 (11:31 -0700)
1  2 
lib/activityobject.php

diff --combined lib/activityobject.php
index c957933d04bff8c2e11ba75552e58faeaabe4b81,52733c47a010d5dc489425c7989424e54eb7abd9..e89c8db4e9afee4e611a0e54d41ac150b9d14fc5
@@@ -49,7 -49,6 +49,6 @@@ if (!defined('STATUSNET')) 
   * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
   * @link      http://status.net/
   */
  class ActivityObject
  {
      const ARTICLE   = 'http://activitystrea.ms/schema/1.0/article';
       *
       * @param DOMElement $element DOM thing to turn into an Activity thing
       */
      function __construct($element = null)
      {
          if (empty($element)) {
  
          $title = ActivityUtils::childHtmlContent($element, self::TITLE);
  
 -        $this->title = html_entity_decode(strip_tags($title));
 +        $this->title = html_entity_decode(strip_tags($title), ENT_QUOTES, 'UTF-8');
  
          $this->source  = $this->_getSource($element);
  
          }
      }
  
-     // @fixme rationalize with Activity::_fromRssItem()
+     // @todo FIXME: rationalize with Activity::_fromRssItem()
      private function _fromRssItem($item)
      {
          $this->title = ActivityUtils::childContent($item, ActivityObject::TITLE, Activity::RSS);