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
19
plugins/55/wrap/syntax/spanwrap.php
Normal file
19
plugins/55/wrap/syntax/spanwrap.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?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>
|
||||
*/
|
||||
|
||||
class syntax_plugin_wrap_spanwrap extends syntax_plugin_wrap_span {
|
||||
|
||||
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