mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Configure external links before dispatching event
This way extensions can override the link attributes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user