Lexer->addSpecialPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent())); } } function handle($match, $state, $pos, Doku_Handler $handler): array { return XmlTagProcessing::handleStaticEmptyTag($match, $state, $pos, $handler, $this); } /** * Render the output * @param string $format * @param Doku_Renderer $renderer * @param array $data - what the function handle() return'ed * @return boolean - rendered correctly? (however, returned value is not used at the moment) * @see DokuWiki_Syntax_Plugin::render() */ function render($format, Doku_Renderer $renderer, $data): bool { return XmlTagProcessing::renderStaticEmptyTag($format, $renderer, $data, $this); } }