1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00
dokuwiki_ynh/sources/lib/plugins/wrap/syntax/spaninline.php
2014-07-20 13:53:41 +02:00

19 lines
456 B
PHP

<?php
/**
* Alternate span syntax component for the wrap plugin
*
* Defines <inline> ... </inline> syntax
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Anika Henke <anika@selfthinker.org>
*/
require_once(dirname(__FILE__).'/span.php');
class syntax_plugin_wrap_spaninline extends syntax_plugin_wrap_span {
protected $entry_pattern = '<inline.*?>(?=.*?</inline>)';
protected $exit_pattern = '</inline>';
}