mirror of
https://github.com/flarum/core.git
synced 2025-07-21 08:41:17 +02:00
Add Escaper plugin so that formatting can be escaped
This commit is contained in:
@@ -22,12 +22,14 @@ class Formatter
|
||||
$configurator = new Configurator;
|
||||
$configurator->rootRules->enableAutoLineBreaks();
|
||||
|
||||
$configurator->Escaper;
|
||||
$configurator->Autoemail;
|
||||
$configurator->Autolink;
|
||||
$configurator->tags->onDuplicate('replace');
|
||||
|
||||
event(new FormatterConfigurator($configurator));
|
||||
|
||||
|
||||
return $configurator;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user