Skip to content

Commit d2e93cc

Browse files
committed
fix {{chunk[+ph+]}}
1 parent 468aa3e commit d2e93cc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/src/Core.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,10 @@ public function mergeChunkContent($content, $ph = false)
14841484
}
14851485
$value = $ph[$key];
14861486

1487+
if ($value === null && !stripos('[',$key)) {
1488+
continue;
1489+
}
1490+
14871491
$value = $this->parseText($value, $params); // parse local scope placeholers for ConditionalTags
14881492
$value = $this->mergePlaceholderContent($value, $params); // parse page global placeholers
14891493
if ($this->getConfig('enable_at_syntax')) {
-161 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)