Set smartypants options in config.php

Hi,

I tried to set smartypant options for french like I did in Kirby 2, with the new kirby 3 syntax, but no luck.

<?php

return [
    'debug' => true,
    'smartypants' => true,
    'smartypants.attr' => 3,
    'smartypants.doublequote.open' => '« ',
    'smartypants.doublequote.close' => ' »',
    'smartypants.space.emdash' => ' ',
    'smartypants.space.endash' => ' ',
    'smartypants.space.colon' => ' ',
    'smartypants.space.semicolon' => ' ',
    'smartypants.space.marks' => ' ',
    'smartypants.space.frenchquote' => ' ',
    'smartypants.space.thousand' => '',
    'smartypants.space.unit' => ' ',
];

nor

<?php

return [
    'debug' => true,
    'smartypants' => [
      'smartypants' => true,
      'smartypants.attr' => 3,
      'smartypants.doublequote.open' => '« ',
      'smartypants.doublequote.close' => ' »',
      'smartypants.space.emdash' => ' ',
      'smartypants.space.endash' => ' ',
      'smartypants.space.colon' => ' ',
      'smartypants.space.semicolon' => ' ',
      'smartypants.space.marks' => ' ',
      'smartypants.space.frenchquote' => ' ',
      'smartypants.space.thousand' => '',
      'smartypants.space.unit' => ' ',
    ]
];

Any idea?

Thank you.

This is fixed in 3.1.4

I reactivate this topic: Can you update the option documentation with the smartypants option please? I can’t find a place where the right way to do is referenced. Also if possible provide the documentation for all those options.

Also, can you make the smartypants option part of the locale option, so the good characters are applied? (like « test » in french and "test" in english).

thank you!

Oops, yes, I will.