protected function _img($str) {
		return preg_replace_callback(
			'/!(?:\[(.+?)\])?\h*\(<?(.*?)>?(?:\h*"(.*?)"\h*)?\)/',
			function($expr) {
				return '<img src="'.$expr[2].'"'.
					(empty($expr[1])?
						'':
						(' alt="'.$this->esc($expr[1]).'"')).
					(empty($expr[3])?
						'':
						(' title="'.$this->esc($expr[3]).'"')).' />';
			},
			$str
		);
	}
protected function _img($str) {
		return preg_replace_callback(
			'/!(?:\[(.+?)\])?\h*\(<?(.*?)>?(?:\h*"(.*?)"\h*)?\)/',
			function($expr) {
				return '<img src="'.$expr[2].'"'.
					(empty($expr[1])?
						'':
						(' alt="'.$this->esc($expr[1]).'"')).
					(empty($expr[3])?
						'':
						(' title="'.$this->esc($expr[3]).'"')).' />';
			},
			$str
		);
	}
protected function _img ( $ str ) { return preg_replace_callback ( '/!(?:\[(.+?)\])?\h*\(<?(.*?)>?(?:\h*"(.*?)"\h*)?\)/' , function ( $ expr ) { return '<img src="' . $ expr [ 2 ] . '"' . ( empty ( $ expr [ 1 ] ) ? '' : ( ' alt="' . $ this -> esc ( $ expr [ 1 ] ) . '"' ) ) . ( empty ( $ expr [ 3 ] ) ? '' : ( ' title="' . $ this -> esc ( $ expr [ 3 ] ) . '"' ) ) . ' />' ; } , $ str ) ; }
Process image span
@return string
@param $str string
Process image span