Skip to content

Commit

Permalink
Revert "Configure external links before dispatching event"
Browse files Browse the repository at this point in the history
This reverts commit 4c55d27.

Fixes flarum#1650
  • Loading branch information
tobyzerner authored and wzdiyb committed Feb 16, 2020
1 parent 8396e0e commit e1a4a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Formatter/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ protected function getConfigurator()
$configurator->Autolink;
$configurator->tags->onDuplicate('replace');

$this->configureExternalLinks($configurator);

$this->events->dispatch(new Configuring($configurator));

$this->configureExternalLinks($configurator);

return $configurator;
}

Expand Down

0 comments on commit e1a4a9c

Please sign in to comment.