mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-22 18:19:34 +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);
|
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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue