src/Model/Activity.php
public function getDescription($html = false)
    {
        $description = $this->getProperty('description');
        if ($html) {
            return $description;
        }

        return html_entity_decode(strip_tags($description), ENT_QUOTES, 'utf-8');
    }
public function getDescription($html = false)
    {
        $description = $this->getProperty('description');
        if ($html) {
            return $description;
        }

        return html_entity_decode(strip_tags($description), ENT_QUOTES, 'utf-8');
    }
public function getDescription ( $ html = false ) { $ description = $ this -> getProperty ( 'description' ) ; if ( $ html ) { return $ description ; } return html_entity_decode ( strip_tags ( $ description ) , ENT_QUOTES , 'utf-8' ) ; }
Get a human-readable description of the activity.

The "description" property contains the HTML-formatted description. This
method just provides another way to access it, and a way to remove HTML
easily.

@param bool $html Whether to return HTML.

@return string
Get a human - readable description of the activity .