diff --git a/shortcode-core.php b/shortcode-core.php index bde7e21..6febb5c 100644 --- a/shortcode-core.php +++ b/shortcode-core.php @@ -113,6 +113,7 @@ public function onPageContentProcessed(Event $e) */ protected function processShortcodes(PageInterface $page, $type = 'processContent') { $meta = []; + $this->shortcodes->resetObjects(); // clear shortcodes that may have been processed in this execution thread before $config = $this->mergeConfig($page); // Don't run in admin pages other than content