From fd97e787dda13f644934d35cb8d6e0fdcea569e8 Mon Sep 17 00:00:00 2001 From: Clark Winkelmann Date: Tue, 15 May 2018 00:12:33 +0200 Subject: [PATCH] Configure external links before dispatching event This way extensions can override the link attributes --- framework/core/src/Formatter/Formatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Formatter/Formatter.php b/framework/core/src/Formatter/Formatter.php index 58dfddd16..7de98bdbb 100644 --- a/framework/core/src/Formatter/Formatter.php +++ b/framework/core/src/Formatter/Formatter.php @@ -117,10 +117,10 @@ class Formatter $configurator->Autolink; $configurator->tags->onDuplicate('replace'); - $this->events->dispatch(new Configuring($configurator)); - $this->configureExternalLinks($configurator); + $this->events->dispatch(new Configuring($configurator)); + return $configurator; }