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/divwrap.php
2014-07-20 13:53:41 +02:00

19 lines
440 B
PHP

<?php
/**
* Alternate div 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__).'/div.php');
class syntax_plugin_wrap_divwrap extends syntax_plugin_wrap_div {
protected $entry_pattern = '<WRAP.*?>(?=.*?</WRAP>)';
protected $exit_pattern = '</WRAP>';
}