mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
20 lines
445 B
PHP
20 lines
445 B
PHP
<?php
|
|
/**
|
|
* Alternate span syntax component for the wrap plugin
|
|
*
|
|
* Defines <wrap> ... </wrap> 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_spanwrap extends syntax_plugin_wrap_span {
|
|
|
|
protected $entry_pattern = '<wrap.*?>(?=.*?</wrap>)';
|
|
protected $exit_pattern = '</wrap>';
|
|
|
|
|
|
}
|
|
|