forked from extern/egroupware
making preprocessor more tolerant with > in attributes
eg. <description value="Use Admin >> Site config"/>
This commit is contained in:
parent
5f2d0d5bdd
commit
b9da68dd7f
@ -346,7 +346,7 @@ function send_template()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// change all attribute-names of new et2-* widgets to camelCase, and other attribute modifications for all web-components
|
// change all attribute-names of new et2-* widgets to camelCase, and other attribute modifications for all web-components
|
||||||
$str = preg_replace_callback('/<(et2|records)-([a-z-]+)\s([^>]+)>/', static function(array $matches)
|
$str = preg_replace_callback('#<(et2|records)-([a-z-]+)\s(.*?")\s*/?>#s', static function(array $matches)
|
||||||
{
|
{
|
||||||
$attrs = parseAttrs($matches[3]);
|
$attrs = parseAttrs($matches[3]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user