forked from tk-sls.de/linuxfoo-gitlab
correct json pat to commit message
This commit is contained in:
parent
fccb7dd511
commit
3596243319
@ -67,7 +67,7 @@ class LinuxfooGitea {
|
|||||||
$result .=
|
$result .=
|
||||||
': '.
|
': '.
|
||||||
'<a href="'.$commit->html_url.'">'.substr($commit->sha, 0, 8).'</a> '.
|
'<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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user