mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Fix descriptions not appearing on blacklisted cards
This commit is contained in:
parent
e42671bd4d
commit
ae6e6e194d
BIN
archive/community.applications-2021.05.31-x86_64-1.txz
Normal file
BIN
archive/community.applications-2021.05.31-x86_64-1.txz
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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>" : "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user