Example #1
0
 /**
  * Appends text to the current tag. Text is cleaned of HTML entities first.
  *
  * @param string|false $text Text to append; false is ignored
  */
 public function appendText($text)
 {
     if ($text !== '' && $text !== false) {
         $this->_currentTag->appendText($this->decodeEntities($text));
     }
 }