*)s',''],'URL'=>['(^[^ ]+(?> (?!url=)[^=]+="[^"]*")*(?> url="([^"]*)")?.*)s','']]; /** {@inheritdoc} */ protected $quickRegexp='(<(?:(?!/)((?:ATTACHMENT|EMOJI|LINK_TEXT))(?: [^>]*)?>.*?)[^ />]+)[^>]*?(/)?)>)s'; /** {@inheritdoc} */ protected $quickRenderingTest='((?<=<)(?:[!?]|(?:E|FLASH|IMG)[ />]))'; /** {@inheritdoc} */ protected function renderQuickTemplate($id, $xml) { $attributes=$this->matchAttributes($xml); $html='';switch($id){case'/LIST':$attributes=array_pop($this->attributes);if(!isset($attributes['type']))$html.='';elseif((strpos('upperlowerdecim',mb_substr(htmlspecialchars_decode($attributes['type']??''),0,5,'utf-8'))!==false))$html.='';else$html.='';break;case'/QUOTE':if($this->params['STYLE_ID']==1||$this->params['STYLE_ID']==4||$this->params['STYLE_ID']==5||$this->params['STYLE_ID']==6||$this->params['STYLE_ID']==7||$this->params['STYLE_ID']==8||$this->params['STYLE_ID']==9);else;$html.='';$html.='';break;case'ATTACHMENT':$attributes+=['index'=>null,'filename'=>null];$html.='
'.str_replace('"','"',$attributes['filename']??'').'
';break;case'CODE':$html.='

'.htmlspecialchars($this->params['L_CODE'].$this->params['L_COLON'],0).' '.htmlspecialchars($this->params['L_SELECT_ALL_CODE'],0).'

';break;case'EMAIL':$attributes+=['email'=>null,'body'=>null];$html.='';break;case'EMOJI':$attributes+=['seq'=>null];$textContent=$this->getQuickTextContent($xml);if($this->params['S_VIEWSMILIES']!==''){$html.=''.htmlspecialchars($textContent,2).'';}else$html.=htmlspecialchars($textContent,0);break;case'LINK_TEXT':$attributes+=['text'=>null];$html.=str_replace('"','"',$attributes['text']??'');break;case'LIST':$attributes+=['type'=>null];if(!isset($attributes['type']))$html.='