POP UP DESCRIPTIONS closer to what dockerMan shows

This commit is contained in:
Squidly271 2021-08-06 19:05:39 -04:00
parent 522500e111
commit c51b15fcc8
3 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -29,4 +29,4 @@ f9c3f431935fb20801f3fef152dc7b58 ./scripts/showStatistics.php
02759ea835ee4ce5a051fead96ab9b9b ./scripts/updatePluginSupport.php
4e97f00c3f0a52603239b00acf890990 ./skins/Narrow/css.php
1668b7fa961aef793fca369a793e7f16 ./skins/Narrow/skin.html
67e3158f428371a636821ac0de629958 ./skins/Narrow/skin.php
5c0bc81686ac8a3fd6135fe34fee5e38 ./skins/Narrow/skin.php

View File

@ -573,10 +573,12 @@ function getPopupDescriptionSkin($appNumber) {
if ( ! $ovr )
$ovr = $template['OriginalDescription'] ?: $template['Description'];
$ovr = html_entity_decode($ovr);
// $ovr = str_replace("&#xD","<br>",$ovr);
$ovr = str_replace(["[","]"],["<",">"],$ovr);
$ovr = str_replace("<br>","\n",$ovr);
// $ovr = str_replace("<br>","\n",$ovr);
$ovr = str_replace("\n","<br>",$ovr);
$ovr = str_replace(" ","&nbsp;&nbsp;&nbsp;&nbsp;",$ovr);
$ovr = markdown(strip_tags($ovr));
$ovr = markdown(strip_tags($ovr,"<br>"));
$template['ModeratorComment'] .= $template['CAComment'];