1<?php
2/**
3 * DokuWiki Plugin htmlok (Syntax Component)
4 *
5 * @license GPL 2 https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6 * @author  saggi <saggi@gmx.de>
7 * @author  Elan Ruusamäe <glen@delfi.ee>
8 */
9
10use dokuwiki\plugin\htmlok\BaseSyntaxPlugin;
11
12class syntax_plugin_htmlok_htmlblock extends BaseSyntaxPlugin
13{
14    protected $ptype = 'block';
15    protected $sort = 190;
16    protected $tag = 'HTML';
17    protected $mode = 'plugin_htmlok_htmlblock';
18    protected $class = 'htmlblock';
19
20    protected function renderMatch(string $match): string
21    {
22        return $this->htmlblock($match);
23    }
24}
25