diff --git a/engine/kernel/s-g-m-l.php b/engine/kernel/s-g-m-l.php index 3476fbcd..a4503fe6 100644 --- a/engine/kernel/s-g-m-l.php +++ b/engine/kernel/s-g-m-l.php @@ -36,7 +36,7 @@ public function __construct($in = []) { $attr = x(implode("", $c[1])); $attr_open = x($c[1][2] . $c[1][0]); $attr_close = x($c[1][1]); - if (preg_match('/' . $tag_open . '([^' . $tag . $attr . '\s]+)(\s[^' . $tag_close . ']*)?(?:' . $tag_close . '((?:(?R)|[\s\S])*?)(?:' . $tag_open . $tag_end . '(\1)' . $tag_close . ')|(?:' . $tag_end . ')' . ($this->strict ? "" : '?') . $tag_close . ')/', n($in), $m)) { + if (preg_match('/' . $tag_open . '([^' . $tag . $attr . '\s]+)(\s[^' . $tag_close . ']*)?(?:' . $tag_close . '((?R)|[\s\S]*?)(?:' . $tag_open . $tag_end . '(\1)' . $tag_close . ')|(?:' . $tag_end . ')' . ($this->strict ? "" : '?') . $tag_close . ')/', n($in), $m)) { $this->lot = [ 0 => $m[1], 1 => isset($m[4]) ? $m[3] : false,