protected function outputIgnoreTag(Tag $tag)
	{
		$tagPos = $tag->getPos();
		$tagLen = $tag->getLen();

		// Capture the text to ignore
		$ignoreText = substr($this->text, $tagPos, $tagLen);

		// Catch up with the tag's position then output the tag
		$this->outputText($tagPos, 0, false);
		$this->output .= '<i>' . htmlspecialchars($ignoreText, ENT_NOQUOTES, 'UTF-8') . '</i>';
		$this->isRich = true;

		// Move the cursor past this tag
		$this->pos = $tagPos + $tagLen;
	}
protected function outputIgnoreTag(Tag $tag)
	{
		$tagPos = $tag->getPos();
		$tagLen = $tag->getLen();

		// Capture the text to ignore
		$ignoreText = substr($this->text, $tagPos, $tagLen);

		// Catch up with the tag's position then output the tag
		$this->outputText($tagPos, 0, false);
		$this->output .= '<i>' . htmlspecialchars($ignoreText, ENT_NOQUOTES, 'UTF-8') . '</i>';
		$this->isRich = true;

		// Move the cursor past this tag
		$this->pos = $tagPos + $tagLen;
	}
protected function outputIgnoreTag ( Tag $ tag ) { $ tagPos = $ tag -> getPos ( ) ; $ tagLen = $ tag -> getLen ( ) ; // Capture the text to ignore $ ignoreText = substr ( $ this -> text , $ tagPos , $ tagLen ) ; // Catch up with the tag's position then output the tag $ this -> outputText ( $ tagPos , 0 , false ) ; $ this -> output .= '<i>' . htmlspecialchars ( $ ignoreText , ENT_NOQUOTES , 'UTF-8' ) . '</i>' ; $ this -> isRich = true ; // Move the cursor past this tag $ this -> pos = $ tagPos + $ tagLen ; }
Output an ignore tag

@param  Tag  $tag
@return void
Output an ignore tag