mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
decode $preview html chars
This commit is contained in:
parent
8758c8db3f
commit
865c5ea03e
1 changed files with 2 additions and 2 deletions
|
|
@ -27,8 +27,8 @@
|
|||
<meta property="og:description" content="Make your Laravel code cleaner, faster, and safer." />
|
||||
|
||||
@if($preview)
|
||||
<meta property="og:image" content="https://i.useflipp.com/g6demrp3y3rz.png?content={{ urlencode($preview) }}" />
|
||||
<meta property="twitter:image" content="https://i.useflipp.com/g6demrp3y3rz.png?content={{ urlencode($preview) }}" />
|
||||
<meta property="og:image" content="https://i.useflipp.com/g6demrp3y3rz.png?content={{ urlencode(html_entity_decode($preview)) }}" />
|
||||
<meta property="twitter:image" content="https://i.useflipp.com/g6demrp3y3rz.png?content={{ urlencode(html_entity_decode($preview)) }}" />
|
||||
@else
|
||||
<meta property="og:image" content="{{ asset('og.png') }}" />
|
||||
<meta property="twitter:image" content="{{ asset('og.png') }}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue