mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Add Escaper plugin so that formatting can be escaped
This commit is contained in:
parent
011701e483
commit
5bcf6ae630
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user