Purifier
Purifier copied to clipboard
img , p in view not working.
in blade view , I did
<div>
{!! clean( nl2br( e( $post->content ))) !!}
</div>
in my view page
I see this result as html source.
<p><img alt="1.jpg this is image" data-file-srl="12345" src="https://image.example.com/1.jpg" title="" /></p>
It does not show image.
I didn't change anything in config file.
How can I display image and translate P tag to line feed ?