I’m trying to add a shortcode to my GIS plugin but I’m facing the same issue as this one : Override parser · Issue #24 · getgrav/grav-plugin-shortcode-core · GitHub
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
I’d prefer solves the issue within the Better Typography plugin. I suspect it’s because I call
onPageContentProcessed (grav-plugin-better-typography/better-typography.php at main - grav-plugin-better-typography - reclic.dev vous délivre votre code) and it happens before the Shortcode Core : grav-plugin-shortcode-core/shortcode-core.php at develop · getgrav/grav-plugin-shortcode-core · GitHub
So, I just need to change the priority like this ?
'onPageContentProcessed' => ['onPageContentProcessed', -20],
[EDIT]Changing the priority doesn’t seem to work, BetterTypography is applied before ShortcodeCore[/EDIT]