1
0
Fork 0
dokuwiki-plugins-extra/plugins/55/wrap/syntax/spaninline.php

19 lines
474 B
PHP
Raw Normal View History

<?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>
*/
class syntax_plugin_wrap_spaninline extends syntax_plugin_wrap_span {
protected $special_pattern = '<inline\b[^>\r\n]*?/>';
protected $entry_pattern = '<inline\b.*?>(?=.*?</inline>)';
protected $exit_pattern = '</inline>';
}