Add stevebauman/purify for HTML sanitization and update project configuration to allow HTML input in Markdown rendering.

This commit is contained in:
HolgerHatGarKeineNode
2026-04-05 18:53:16 +01:00
parent 0c3b98a195
commit 8e7672691d
4 changed files with 131 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ return [
* More info: https://spatie.be/docs/laravel-markdown/v1/using-the-blade-component/passing-options-to-commonmark
*/
'commonmark_options' => [
'html_input' => 'escape',
'html_input' => 'allow',
'allow_unsafe_links' => false,
],