diff --git a/composer.json b/composer.json index ea6d98fb..26c0ae45 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,8 @@ } ], "require": { - "luketowers/purifier": "~3.0" + "mews/purifier": "^3.3", + "laravel/scout": "^7.1" }, "require-dev": { "illuminate/cache": "~5.1.20|5.2.*|5.3.*", diff --git a/config/chatter.php b/config/chatter.php index 0867abec..6a030701 100644 --- a/config/chatter.php +++ b/config/chatter.php @@ -30,11 +30,12 @@ | description from the language files will be used. | | *headline_logo*: If this is set an image will be used on the forum home - | instead of text. Specify the relative path to the image here. + | instead of text. Specify the relative path to the image here. If the + | value is false, nothing will be displayed. | */ - 'headline_logo' => '/vendor/devdojo/chatter/assets/images/logo-light.png', + 'headline_logo' => false, /* |-------------------------------------------------------------------------- @@ -190,6 +191,22 @@ 'plugins' => 'link, image', ], + /* + |-------------------------------------------------------------------------- + | Response Settings + |-------------------------------------------------------------------------- + | + | Whether chatter should strip all styles attributes and remove tags + | from new responses. + | + */ + + 'response' => [ + 'strip_styles' => true, + 'strip_tags' => true, + 'allowed_tags' => '