Configure external links before dispatching event

This way extensions can override the link attributes
This commit is contained in:
Clark Winkelmann 2018-05-15 00:12:33 +02:00 committed by GitHub
parent 2a721926d3
commit 4c55d278b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}