Fix descriptions not appearing on blacklisted cards

This commit is contained in:
Squidly271 2021-05-31 08:38:44 -04:00
parent e42671bd4d
commit ae6e6e194d
3 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -11,7 +11,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
ff2397aabb45396d4b8398c084645196 ./include/exec.php
3bfc1687b9c954cf5020cb3ae25bec0f ./include/exec.php
d7f50413cbaac1c6cb9ceaaef48f270a ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
3758b1cb84123ea534ce8fb68f92879e ./javascript/libraries.js

View File

@ -252,6 +252,7 @@ function DownloadApplicationFeed() {
$des = $o['OriginalOverview'] ?: $o['Overview'];
$des = $o['Language'] ? $o['Description'] : $des;
if ( ! $des && $o['Description'] ) $des = $o['Description'];
$des = str_replace(["[","]"],["<",">"],$des);
$des = html_entity_decode($des);
$o['CardDescription'] = strip_tags(markdown(trim($des)),$o['Language'] ? "<br>" : "");