diff --git a/config/markdown.php b/config/markdown.php index fe1bab6..18f5248 100644 --- a/config/markdown.php +++ b/config/markdown.php @@ -75,7 +75,7 @@ return [ * More info: https://commonmark.thephpleague.com/2.4/extensions/overview/ */ 'extensions' => [ - // + League\CommonMark\Extension\DisallowedRawHtml\DisallowedRawHtmlExtension::class, ], /* diff --git a/resources/views/livewire/association/project-support/show.blade.php b/resources/views/livewire/association/project-support/show.blade.php index a5fab8a..267bcfc 100644 --- a/resources/views/livewire/association/project-support/show.blade.php +++ b/resources/views/livewire/association/project-support/show.blade.php @@ -138,7 +138,7 @@ new class extends Component { {{ $projectProposal->name }} - {!! \Stevebauman\Purify\Facades\Purify::clean($projectProposal->description) !!} + {!! $projectProposal->description !!} diff --git a/resources/views/vendor/markdown/markdown.blade.php b/resources/views/vendor/markdown/markdown.blade.php new file mode 100644 index 0000000..5bb1f4d --- /dev/null +++ b/resources/views/vendor/markdown/markdown.blade.php @@ -0,0 +1 @@ +
{!! \Stevebauman\Purify\Facades\Purify::clean($toHtml($slot)) !!}