Remove empty tags.
public removeEmptyTags ( string $data ) : string | ||
$data | string | Input data |
Результат | string |
/** * Called after XML parsing. */ public function postFilter() { $this->output = $this->tag->removeEmptyTags($this->output); $this->output = $this->filterRules($this->output); $this->output = $this->tag->removeMultipleBreakTags($this->output); $this->output = trim($this->output); }
/** * Called after XML parsing * * @access public */ public function postFilter() { $this->output = $this->tag->removeEmptyTags($this->output); $this->output = trim($this->output); }