Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
🐛 extension html collided with html() helper
Browse files Browse the repository at this point in the history
⬆️ upgraded dependencies
  • Loading branch information
bnomei committed Aug 23, 2021
1 parent 03c018f commit 9ab5de8
Show file tree
Hide file tree
Showing 6 changed files with 668 additions and 490 deletions.
2 changes: 1 addition & 1 deletion classes/Handlebars.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(array $options = [])
$this->options['render'] = $this->options['render'] && !$this->options['debug'];

foreach ($this->options as $key => $call) {
if (is_callable($call) && !in_array($call, ['hbs', 'handlebars'])) {
if (!is_string() && is_callable($call) && !in_array($call, ['hbs', 'handlebars', 'html'])) {
$this->options[$key] = $call();
}
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-handlebars",
"type": "kirby-plugin",
"version": "3.4.5",
"version": "3.4.6",
"license": "MIT",
"description": "Kirby 3 Component for semantic templates with Handlebars and Mustache",
"authors": [
Expand Down
Loading

0 comments on commit 9ab5de8

Please sign in to comment.