Skip to content

Commit 293251b

Browse files
committed
Merge branch 'feature/template-builder-system' of github.com:fleetbase/core-api into feature/template-builder-system
2 parents 4543c46 + 7c29035 commit 293251b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/TemplateRenderService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ protected function renderTableElement(array $element, string $styleStr): string
373373
*/
374374
protected function processIterationBlocks(string $html, array $context): string
375375
{
376-
$pattern = '/\{\{#each\s+(\w+)\}\}(.*?)\{\{\/each\}\}/s';
376+
$pattern = '/\{\{#each\s+([\w.]+)\}\}(.*?)\{\{\/each\}\}/s';
377377

378378
return preg_replace_callback($pattern, function (array $matches) use ($context) {
379379
$variableName = $matches[1];

0 commit comments

Comments
 (0)