diff options
| author | horus | 2020-03-24 17:45:43 +0100 |
|---|---|---|
| committer | horus | 2020-03-24 17:45:43 +0100 |
| commit | 9c36acdbde287c4fddec76153536ab5b342cd0a8 (patch) | |
| tree | 09e5835b02e5eeb2572178c9194e4fa2de4a7d4c /resources | |
| parent | 74e73666e5f79fe5862bc9cd2c8d244004c381b4 (diff) | |
| download | senpai-9c36acdbde287c4fddec76153536ab5b342cd0a8.tar.gz | |
Fix bug with displayed floats.
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/anime.blade.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/views/anime.blade.php b/resources/views/anime.blade.php index f2daedf..10634dd 100644 --- a/resources/views/anime.blade.php +++ b/resources/views/anime.blade.php @@ -10,8 +10,7 @@ </div> <div class="col-sm-8 col-lg-9"> <h2>Synopsis</h2> - <!--{!! str_replace("%%br%%", "<br>", e($anime->synopsis)) !!}--> - {!! replaceSpecialChars(e($anime->synopsis)) !!} + {!! replaceSpecialChars( e($anime->synopsis) ) !!} <br> <br> <strong>Score: </strong> {{ $anime["basic_data"]->score }} @@ -58,7 +57,7 @@ new Chart(document.getElementById('score_chart'), { labels: {!! json_encode($anime["chart_label"]) !!}, datasets: [{ label: 'Average Score on MAL', - data: {{ json_encode($anime["score"]) }}, + data: {!! printScoreData($anime["score"]) !!}, file: 'false', borderColor: 'rgb(75, 192, 192)', lineTension: 0.01, |
