Adding upstream version 20241201.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5f5109ce41
commit
f8d74cc725
216 changed files with 7490 additions and 0 deletions
18
plugins/55/wrap/syntax/divwrap.php
Normal file
18
plugins/55/wrap/syntax/divwrap.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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>
|
||||
*/
|
||||
|
||||
class syntax_plugin_wrap_divwrap extends syntax_plugin_wrap_div {
|
||||
|
||||
protected $special_pattern = '<WRAP\b[^>\r\n]*?/>';
|
||||
protected $entry_pattern = '<WRAP\b.*?>(?=.*?</WRAP>)';
|
||||
protected $exit_pattern = '</WRAP>';
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue