hydephp / develop

The HydePHP Source Code Monorepo
https://hydephp.com
MIT License
12 stars 6 forks source link

Blog post OpenGraph images must be resolved relatively #374

Closed caendesilva closed 2 years ago

caendesilva commented 2 years ago

This bubbles to the og:image property, which should also be resolved relatively:

// expected
'<meta property="og:image" content="../media/image.jpg">',
// actual
'<meta property="og:image" content="media/image.jpg">',

Originally posted by @caendesilva in https://github.com/hydephp/develop/issues/359#issuecomment-1208153705

caendesilva commented 2 years ago

Fixed in https://github.com/hydephp/develop/pull/375