- added build files for upcoming release 1.1.5

- removed "upgrade information"  from version information panel
This commit is contained in:
Exodus4D
2016-09-24 16:16:55 +02:00
parent dfdb0034d5
commit b2641d93d1
103 changed files with 35146 additions and 39173 deletions

View File

@@ -62,11 +62,18 @@ class GitHub extends Controller\Controller {
$md = \Markdown::instance();
foreach($releasesData as &$releaseData){
if(isset($releaseData->body)){
$body = $releaseData->body;
// remove "update information" from release text
// -> keep everything until first "***" -> horizontal line
if( ($pos = strpos($body, '***')) !== false){
$body = substr($body, 0, $pos);
}
// convert list style
$body = str_replace(' - ', '* ', $releaseData->body );
$body = str_replace(' - ', '* ', $body );
$releaseData->body = $md->convert( $body );
$releaseData->body = $md->convert( trim($body) );
}
}
$f3->set($cacheKey, $releasesData, $ttl);