mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-04-06 09:58:42 +00:00
🛠 Replace inline HTML sanitization with a custom Markdown component for consistency.
🛡 Add `DisallowedRawHtmlExtension` to Markdown config for enhanced security.
This commit is contained in:
@@ -138,7 +138,7 @@ new class extends Component {
|
||||
{{ $projectProposal->name }}
|
||||
</h1>
|
||||
<x-markdown>
|
||||
{!! \Stevebauman\Purify\Facades\Purify::clean($projectProposal->description) !!}
|
||||
{!! $projectProposal->description !!}
|
||||
</x-markdown>
|
||||
</header>
|
||||
|
||||
|
||||
1
resources/views/vendor/markdown/markdown.blade.php
vendored
Normal file
1
resources/views/vendor/markdown/markdown.blade.php
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<div {{ $attributes }}>{!! \Stevebauman\Purify\Facades\Purify::clean($toHtml($slot)) !!}</div>
|
||||
Reference in New Issue
Block a user