framework/utils/CMarkdownParser.php
protected function getHighlightTag($codeblock)
	{
		$str = trim(current(preg_split("/\r|\n/", $codeblock,2)));
		if(strlen($str) > 2 && $str[0] === '[' && $str[strlen($str)-1] === ']')
			return $str;
	}
protected function getHighlightTag($codeblock)
	{
		$str = trim(current(preg_split("/\r|\n/", $codeblock,2)));
		if(strlen($str) > 2 && $str[0] === '[' && $str[strlen($str)-1] === ']')
			return $str;
	}
protected function getHighlightTag ( $ codeblock ) { $ str = trim ( current ( preg_split ( "/\r|\n/" , $ codeblock , 2 ) ) ) ; if ( strlen ( $ str ) > 2 && $ str [ 0 ] === '[' && $ str [ strlen ( $ str ) - 1 ] === ']' ) return $ str ; }
Returns the user-entered highlighting options.
@param string $codeblock code block with highlighting options.
@return string the user-entered highlighting options. Null if no option is entered.
Returns the user - entered highlighting options .