v0.7.5 - Added substr to guide and event

This commit is contained in:
2020-08-11 15:09:11 +02:00
parent a9a9d42fb8
commit fc631ef66e
3 changed files with 5 additions and 2 deletions
@@ -41,7 +41,7 @@
<h3>{{ $guide->name}}</h3>
</div>
<div class="container">
{!! substr($guide->guide_articles, 0, 300) !!}
{!! \App\Helpers::closetags(substr($guide->guide_articles, 0, 300)) !!}
<a style="width: 33%; margin: 0; padding: 0; text-align: center; font-weight: 700;" class="sde-blue" href="{{route("guides.show", ["guide" => $guide->id ])}}">Læs mere</a>
</div>
</div>