mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
Fixes #751 - Meta-tag issues.
This commit is contained in:
@@ -3967,9 +3967,14 @@ class eResponse
|
||||
|
||||
if(null !== $name)
|
||||
{
|
||||
$key = (substr($name,0,3) == 'og:') ? 'property' : 'name';
|
||||
$attr[$key] = $name;
|
||||
// $key = (substr($name,0,3) == 'og:') ? 'property' : 'name';
|
||||
// $attr[$key] = $name;
|
||||
$attr['property'] = $name; // giving both should be valid and avoid issues with FB and others.
|
||||
$attr['name'] = $name;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(null !== $content) $attr['content'] = $content;
|
||||
if(!empty($extended))
|
||||
{
|
||||
|
Reference in New Issue
Block a user