original_string: protected function getComment() {
  		$comment_body = elgg_view('output/longtext', array(
  			'value' => $this->comment->description,
  		));
  //		if (elgg_view_exists('output/linkify')) {
  //			$comment_body = elgg_view('output/linkify', array(
  //				'value' => $comment_body
  //			));
  //		}
  		$comment_body .= elgg_view('output/attached', array(
  			'entity' => $this->comment,
  		));
  
  		$attachments = $this->comment->getAttachments(array('limit' => 0));
  		if ($attachments && count($attachments)) {
  			$attachments = array_map(__NAMESPACE__ . '\\get_linked_entity_name', $attachments);
  			$attachments_text = implode(', ', array_filter($attachments));
  			if ($attachments_text) {
  				$comment_body .= elgg_echo('interactions:attachments:labelled', array($attachments_text));
  			}
  		}
  
  		return strip_tags($comment_body, '<p><strong><em><span><ul><li><ol><blockquote><img><a>');
  	}
code: protected function getComment() {
  		$comment_body = elgg_view('output/longtext', array(
  			'value' => $this->comment->description,
  		));
  //		if (elgg_view_exists('output/linkify')) {
  //			$comment_body = elgg_view('output/linkify', array(
  //				'value' => $comment_body
  //			));
  //		}
  		$comment_body .= elgg_view('output/attached', array(
  			'entity' => $this->comment,
  		));
  
  		$attachments = $this->comment->getAttachments(array('limit' => 0));
  		if ($attachments && count($attachments)) {
  			$attachments = array_map(__NAMESPACE__ . '\\get_linked_entity_name', $attachments);
  			$attachments_text = implode(', ', array_filter($attachments));
  			if ($attachments_text) {
  				$comment_body .= elgg_echo('interactions:attachments:labelled', array($attachments_text));
  			}
  		}
  
  		return strip_tags($comment_body, '<p><strong><em><span><ul><li><ol><blockquote><img><a>');
  	}
code_tokens: protected function getComment ( ) { $ comment_body = elgg_view ( 'output/longtext' , array ( 'value' => $ this -> comment -> description , ) ) ; //		if (elgg_view_exists('output/linkify')) { //			$comment_body = elgg_view('output/linkify', array( //				'value' => $comment_body //			)); //		} $ comment_body .= elgg_view ( 'output/attached' , array ( 'entity' => $ this -> comment , ) ) ; $ attachments = $ this -> comment -> getAttachments ( array ( 'limit' => 0 ) ) ; if ( $ attachments && count ( $ attachments ) ) { $ attachments = array_map ( __NAMESPACE__ . '\\get_linked_entity_name' , $ attachments ) ; $ attachments_text = implode ( ', ' , array_filter ( $ attachments ) ) ; if ( $ attachments_text ) { $ comment_body .= elgg_echo ( 'interactions:attachments:labelled' , array ( $ attachments_text ) ) ; } } return strip_tags ( $ comment_body , '<p><strong><em><span><ul><li><ol><blockquote><img><a>' ) ; }
docstring: Prepares comment body, including the text and attachment info
  @return string
docstring_tokens: Prepares comment body including the text and attachment info