Lexer->addSpecialPattern('\]*\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\<\/dlh\.table\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\]*\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\<\/dlh\.caption\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\]*\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\<\/dlh\.th\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\]*\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\<\/dlh\.tr\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\]*\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); $this->Lexer->addSpecialPattern('\<\/dlh\.td\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->getPluginComponent()); } /** * Handle matches of the DLH syntax * * @param string $match The match of the syntax * @param int $state The state of the handler * @param int $pos The position in the document * @param Doku_Handler $handler The handler * * @return array Data for the renderer */ public function handle($match, $state, $pos, Doku_Handler $handler) { if( substr($match,0,3) =='doc .= str_replace('.wiki' , '' , str_replace('doc .= str_replace('.wiki' , '' , str_replace('