Flattr requires name instead property.

This commit is contained in:
Tina Burschka
2020-09-18 02:20:00 +02:00
committed by Matias Griese
parent 87a01bbe0a
commit 1cfcf1ded0

View File

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