Process placeholder macros in Twig mode

This commit is contained in:
Frank Fenor 2024-03-06 13:45:55 +01:00
parent 113e5b3bcd
commit 03053aa44f
No known key found for this signature in database
GPG key ID: E6B5029FCCE96376

View file

@ -87,9 +87,11 @@ final class LabelHTMLGenerator
throw new TwigModeException($exception); throw new TwigModeException($exception);
} }
} else { } else {
$lines = $this->replacer->replace($options->getLines(), $element); $lines = $options->getLines();
} }
$lines = $this->replacer->replace($lines, $element);
$twig_elements[] = [ $twig_elements[] = [
'element' => $element, 'element' => $element,
'lines' => $lines, 'lines' => $lines,