correct json pat to commit message

This commit is contained in:
root 2023-09-23 16:00:11 +02:00
parent fccb7dd511
commit 3596243319

View File

@ -67,7 +67,7 @@ class LinuxfooGitea {
$result .=
': '.
'<a href="'.$commit->html_url.'">'.substr($commit->sha, 0, 8).'</a> '.
htmlspecialchars(preg_replace('/\n.*/', '', $commit->message), ENT_NOQUOTES|ENT_HTML5|ENT_SUBSTITUTE, 'UTF-8', FALSE);
htmlspecialchars(preg_replace('/\n.*/', '', $commit->commit->message), ENT_NOQUOTES|ENT_HTML5|ENT_SUBSTITUTE, 'UTF-8', FALSE);
return $result;
}