mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 04:31:57 +08:00
Merge pull request #1432 from clarkwinkelmann/patch-3
Configure external links before dispatching textformatter configuring event
This commit is contained in:
commit
09938f8633
@ -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