Adding wrap version 2023-08-13 (63b6c01).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
82229a3e1e
commit
d25794905f
112 changed files with 4620 additions and 0 deletions
19
plugins/55/wrap/syntax/divblock.php
Normal file
19
plugins/55/wrap/syntax/divblock.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* Alternate div syntax component for the wrap plugin
|
||||
*
|
||||
* Defines <block> ... </block> syntax
|
||||
*
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
*/
|
||||
|
||||
class syntax_plugin_wrap_divblock extends syntax_plugin_wrap_div {
|
||||
|
||||
protected $special_pattern = '<block\b[^>\r\n]*?/>';
|
||||
protected $entry_pattern = '<block\b.*?>(?=.*?</block>)';
|
||||
protected $exit_pattern = '</block>';
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue