As the title said, I try to show HTML code using {!! ... !!}
, HTML code comes from Database. But when the code has an asset('image/my.png')
, it does not show the image, otherwise, it shows the code asset('image/my.png')
.
How to show image using :
asset('image/my.png')
The code :
<div>
<img src="{{ asset('images/my1.png') }}
{!! <img src="{{ asset('images/my2.png') }}" /> !!}
</div>
But need to append HTML code from Database between my blade View?