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
18
plugins/55/wrap/syntax/spaninline.php
Normal file
18
plugins/55/wrap/syntax/spaninline.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
/**
|
||||
* Alternate span syntax component for the wrap plugin
|
||||
*
|
||||
* Defines <inline> ... </inline> syntax
|
||||
*
|
||||
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
|
||||
* @author Anika Henke <anika@selfthinker.org>
|
||||
*/
|
||||
|
||||
class syntax_plugin_wrap_spaninline extends syntax_plugin_wrap_span {
|
||||
|
||||
protected $special_pattern = '<inline\b[^>\r\n]*?/>';
|
||||
protected $entry_pattern = '<inline\b.*?>(?=.*?</inline>)';
|
||||
protected $exit_pattern = '</inline>';
|
||||
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue