I have Smartypants active in config.php
'smartypants' => [
'doublequote.open' => '„',
'doublequote.close' => '“',
],
When trying to output text in a template
<?= $page->text()->kirbytext() ?>
it still shows up with straight double-quotes.
When using
<?= $page->text()->smartypants() ?>
it works as expected but breaks KirbyTags evaluation. According to the documentation, using ->kirbytext()
should work as well.
When I chain both
<?= $page->text()->smartypants()->kirbytext() ?>
it works.
Is this expected behavior?