Skip to content

Commit

Permalink
Web: Omit "ci skip" tags from commit messages in the build commits list
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
skyjake committed Mar 31, 2017
1 parent 6479a12 commit eab088c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapi/1/builds.php
Expand Up @@ -221,7 +221,8 @@ function generate_build_page($number)
$date = strftime('%b %d', mktime(0, 0, 0, $parsed['month'], $parsed['day'])); //htmlspecialchars(substr($commit->date, 0, 10));
$subject = htmlspecialchars($commit->subject);
$author = htmlentities($commit->author);
$msg = basic_markdown(htmlentities($commit->message));
$msg = trim(str_replace("[ci skip]", "", $commit->message));
$msg = basic_markdown(htmlentities($msg));
cache_echo("<li>$others<a href='$github_link'>$date</a> "
."<span class='title'><a href='$trgit_link'>$subject</a></span> "
//."by <span class='author'>$author</span>"
Expand Down

0 comments on commit eab088c

Please sign in to comment.