Merge pull request #1350 from denisdulici/master
Not able to see changelog
This commit is contained in:
commit
d8199d27b2
@ -6,8 +6,8 @@ use Akaunting\Module\Module;
|
||||
use App\Traits\SiteApi;
|
||||
use Cache;
|
||||
use Date;
|
||||
use GrahamCampbell\Markdown\Facades\Markdown;
|
||||
use Illuminate\Support\Arr;
|
||||
use Parsedown;
|
||||
|
||||
class Versions
|
||||
{
|
||||
@ -27,8 +27,6 @@ class Versions
|
||||
return $output;
|
||||
}
|
||||
|
||||
$parsedown = new Parsedown();
|
||||
|
||||
$releases = json_decode($json);
|
||||
|
||||
foreach ($releases as $release) {
|
||||
@ -46,7 +44,7 @@ class Versions
|
||||
|
||||
$output .= '<h2><span class="badge badge-pill badge-success">' . $release->tag_name . '</span></h2>';
|
||||
|
||||
$output .= $parsedown->text($release->body);
|
||||
$output .= Markdown::convertToHtml($release->body);
|
||||
|
||||
$output .= '<hr>';
|
||||
}
|
||||
|
@ -30,6 +30,7 @@
|
||||
"doctrine/dbal": "2.9.*",
|
||||
"fideloper/proxy": "4.2.*",
|
||||
"genealabs/laravel-model-caching": "0.7.*",
|
||||
"graham-campbell/markdown": "12.0.*",
|
||||
"guzzlehttp/guzzle": "6.5.*",
|
||||
"intervention/image": "2.5.*",
|
||||
"jenssegers/date": "3.5.*",
|
||||
|
Loading…
x
Reference in New Issue
Block a user