mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +00:00
Process placeholder macros in Twig mode
This commit is contained in:
parent
113e5b3bcd
commit
03053aa44f
1 changed files with 3 additions and 1 deletions
|
|
@ -87,9 +87,11 @@ final class LabelHTMLGenerator
|
|||
throw new TwigModeException($exception);
|
||||
}
|
||||
} else {
|
||||
$lines = $this->replacer->replace($options->getLines(), $element);
|
||||
$lines = $options->getLines();
|
||||
}
|
||||
|
||||
$lines = $this->replacer->replace($lines, $element);
|
||||
|
||||
$twig_elements[] = [
|
||||
'element' => $element,
|
||||
'lines' => $lines,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue