protected function closeList(array $list, $textBoundary)
	{
		$this->parser->addEndTag('LIST', $textBoundary, 0)->pairWith($list['listTag']);
		$this->parser->addEndTag('LI',   $textBoundary, 0)->pairWith($list['itemTag']);

		if ($list['tight'])
		{
			foreach ($list['itemTags'] as $itemTag)
			{
				$itemTag->removeFlags(Rules::RULE_CREATE_PARAGRAPHS);
			}
		}
	}
protected function closeList(array $list, $textBoundary)
	{
		$this->parser->addEndTag('LIST', $textBoundary, 0)->pairWith($list['listTag']);
		$this->parser->addEndTag('LI',   $textBoundary, 0)->pairWith($list['itemTag']);

		if ($list['tight'])
		{
			foreach ($list['itemTags'] as $itemTag)
			{
				$itemTag->removeFlags(Rules::RULE_CREATE_PARAGRAPHS);
			}
		}
	}
protected function closeList ( array $ list , $ textBoundary ) { $ this -> parser -> addEndTag ( 'LIST' , $ textBoundary , 0 ) -> pairWith ( $ list [ 'listTag' ] ) ; $ this -> parser -> addEndTag ( 'LI' , $ textBoundary , 0 ) -> pairWith ( $ list [ 'itemTag' ] ) ; if ( $ list [ 'tight' ] ) { foreach ( $ list [ 'itemTags' ] as $ itemTag ) { $ itemTag -> removeFlags ( Rules :: RULE_CREATE_PARAGRAPHS ) ; } } }
Close a list at given offset

@param  array   $list
@param  integer $textBoundary
@return void
Close a list at given offset