1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

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 3f429fb08c
commit fd97e787dd

View File

@@ -117,10 +117,10 @@ class Formatter
$configurator->Autolink; $configurator->Autolink;
$configurator->tags->onDuplicate('replace'); $configurator->tags->onDuplicate('replace');
$this->events->dispatch(new Configuring($configurator));
$this->configureExternalLinks($configurator); $this->configureExternalLinks($configurator);
$this->events->dispatch(new Configuring($configurator));
return $configurator; return $configurator;
} }