1
0
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:
Clark Winkelmann
2018-05-15 00:12:33 +02:00
committed by GitHub
parent 2a721926d3
commit 4c55d278b6

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