fix broken index templates

This commit is contained in:
ralf 2022-08-09 15:37:03 +02:00
parent 281047e2cc
commit 0e2d1cb15d

View File

@ -349,7 +349,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(.*?")\s*>\s*<#s', static function(array $matches) $str = preg_replace_callback('#<(et2|records)-([a-z-]+)\s(.*?")\s*/?>\s*<#s', static function(array $matches)
{ {
$attrs = parseAttrs($matches[3]); $attrs = parseAttrs($matches[3]);