I saved a URL in a database like https://ecstasybd.com/
But when I use is this link in an anchor tag colon :
after https
get removed.
I tried this way
<a href="//{{ $stall->about_link }}" target="_blank">About</a>
Output is like <a href="https//ecstasybd.com/" target="_blank">About</a>
I don't know why colon after https is getting removed.
Try {!! !!} something like this
<a href="{!! $stall->about_link !!}" target="_blank">About</a>
remove //
Hope this help you
You can leave all characters in the string by displaying unescaped data:
Displaying Unescaped Data
By default, Blade {{ }} statements are automatically sent through PHP's htmlspecialchars function to prevent XSS attacks. If you do not want your data to be escaped, you may use the following syntax:
Hello, {!! $name !!}.
So for your example it would be this:
<a href="{!! $stall->about_link !!}" target="_blank">About</a>