mirror of
https://github.com/flarum/framework.git
synced 2025-04-19 10:08:53 +08:00
Merge pull request #1432 from clarkwinkelmann/patch-3
Configure external links before dispatching textformatter configuring event
This commit is contained in:
commit
f3bf16ca98
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user