Prevent inadvertent codeblocks being generated on changelogs

pull/11/head
Squidly271 2021-07-17 17:25:00 -04:00
parent a592bd0d71
commit 99cd49f18b
3 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js
4e97f00c3f0a52603239b00acf890990 ./skins/Narrow/css.php
e7bf62923b2d7109b6848554701e12f6 ./skins/Narrow/skin.html
27c428c264c48ddb1470a2a9b299b371 ./skins/Narrow/skin.php
703b19e55c031aaec127efa09173f1d0 ./skins/Narrow/skin.php
430966e5646376b62905b63a30de7102 ./scripts/PluginAPI.php
bbd9dec6c5df486d75c46388c14f09ce ./scripts/installMulti.php
ce2c904b6a40c4677a3ff3484776959e ./scripts/installMultiPlugin.sh

View File

@ -590,6 +590,7 @@ function getPopupDescriptionSkin($appNumber) {
$template['Changes'] = $xml['Changes'];
}
}
$template['Changes'] = str_replace(" ","    ",$template['Changes']); // Prevent inadvertent code blocks
$template['Changes'] = Markdown(strip_tags(str_replace(["[","]"],["<",">"],$template['Changes']),"<br>"));
$templateDescription .= "<div class='popupTitle'>{$template['Name']}</div>";