From 0e2d1cb15d32cc38ed55af8ef7c707cb2afdb48e Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 9 Aug 2022 15:37:03 +0200 Subject: [PATCH] fix broken index templates --- api/etemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/etemplate.php b/api/etemplate.php index aeef2f1750..5bac662c0b 100644 --- a/api/etemplate.php +++ b/api/etemplate.php @@ -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 - $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]);