mirror of
https://github.com/php/web-wiki.git
synced 2025-08-10 01:33:11 +00:00
Add locally modified files
This commit is contained in:
23
dokuwiki/lib/plugins/htmlok/syntax/htmlok.php
Executable file
23
dokuwiki/lib/plugins/htmlok/syntax/htmlok.php
Executable file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* DokuWiki Plugin htmlok (Syntax Component)
|
||||
*
|
||||
* @license GPL 2 https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
* @author saggi <saggi@gmx.de>
|
||||
* @author Elan Ruusamäe <glen@delfi.ee>
|
||||
*/
|
||||
|
||||
use dokuwiki\plugin\htmlok\BaseSyntaxPlugin;
|
||||
|
||||
class syntax_plugin_htmlok_htmlok extends BaseSyntaxPlugin
|
||||
{
|
||||
protected $ptype = 'normal';
|
||||
protected $sort = 190;
|
||||
protected $tag = 'html';
|
||||
protected $mode = 'plugin_htmlok_htmlok';
|
||||
|
||||
protected function renderMatch(string $match): string
|
||||
{
|
||||
return $this->html($match);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user