mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-05-21 11:05:34 +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>
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<div {{ $attributes }}>{!! \Stevebauman\Purify\Facades\Purify::clean($toHtml($slot)) !!}</div>
|
||||
Reference in New Issue
Block a user