mirror of
https://github.com/flarum/framework.git
synced 2025-03-01 23:38:39 +08:00
Configure external links before dispatching event
This way extensions can override the link attributes
This commit is contained in:
parent
3f429fb08c
commit
fd97e787dd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user