protected function closeSpans()
	{
		if ($this->closeEm)
		{
			--$this->remaining;
			$this->parser->addTagPair('EM', $this->emPos, 1, $this->emEndPos, 1);
			$this->emPos = null;
		}
		if ($this->closeStrong)
		{
			$this->remaining -= 2;
			$this->parser->addTagPair('STRONG', $this->strongPos, 2, $this->strongEndPos, 2);
			$this->strongPos = null;
		}
	}
protected function closeSpans()
	{
		if ($this->closeEm)
		{
			--$this->remaining;
			$this->parser->addTagPair('EM', $this->emPos, 1, $this->emEndPos, 1);
			$this->emPos = null;
		}
		if ($this->closeStrong)
		{
			$this->remaining -= 2;
			$this->parser->addTagPair('STRONG', $this->strongPos, 2, $this->strongEndPos, 2);
			$this->strongPos = null;
		}
	}
protected function closeSpans ( ) { if ( $ this -> closeEm ) { -- $ this -> remaining ; $ this -> parser -> addTagPair ( 'EM' , $ this -> emPos , 1 , $ this -> emEndPos , 1 ) ; $ this -> emPos = null ; } if ( $ this -> closeStrong ) { $ this -> remaining -= 2 ; $ this -> parser -> addTagPair ( 'STRONG' , $ this -> strongPos , 2 , $ this -> strongEndPos , 2 ) ; $ this -> strongPos = null ; } }
End current valid EM and STRONG spans

@return void
End current valid EM and STRONG spans