Support to Fediverse Creator meta tag

This commit is contained in:
pmoreno.rodriguez 2024-07-12 21:54:28 +02:00 committed by GitHub
parent 9c697f178d
commit de92c55076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1782,7 +1782,7 @@ class Page implements PageInterface
'content' => $escape ? htmlspecialchars($value, ENT_QUOTES | ENT_HTML5, 'UTF-8') : $value
];
if ($hasSeparator && !Utils::startsWith($key, ['twitter', 'flattr'])) {
if ($hasSeparator && !Utils::startsWith($key, ['twitter', 'flattr','fediverse'])) {
$entry['property'] = $key;
} else {
$entry['name'] = $key;