mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 05:38:03 +08:00
Configure external links before dispatching event
This way extensions can override the link attributes
This commit is contained in:
parent
2a721926d3
commit
4c55d278b6
|
@ -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…
Reference in New Issue
Block a user