Hi,
I'm trying to add a shortcode to my GIS plugin but I'm facing the same issue as this one : https://github.com/getgrav/grav-plugin-shortcode-core/issues/24
In my case, it's not because of the Smartypants plugin but because of my Better Typography plugin.
Using the Regex setting in Shortcode Core solves the issue... But instead of using
$this->grav['config']->set('plugins.shortcode-core.parser', 'regex');
I'd prefer solves the issue within the Better Typography plugin. I suspect it's because I call onPageContentProcessed (https://git.reclic.dev/bricebou/grav-plugin-better-typography/src/branch/main/better-typography.php#L61) and it happens before the Shortcode Core : https://github.com/getgrav/grav-plugin-shortcode-core/blob/develop/shortcode-core.php#L64
So, I just need to change the priority like this ?
'onPageContentProcessed' => ['onPageContentProcessed', -20],
Thanks !
[EDIT]Changing the priority doesn't seem to work, BetterTypography is applied before ShortcodeCore[/EDIT]