Oops, forgot to add the description.

This commit is contained in:
Jacob 2024-05-24 23:44:30 +02:00
parent 99e3b5a94c
commit 67598b789a

View file

@ -389,9 +389,17 @@ function convertMarkdownToHTML($contents) {
} else if ($i == 3 && $license != "") { } else if ($i == 3 && $license != "") {
$text .= "$sep</small>\n"; $text .= "$sep</small>\n";
$text .= "\t<small id=\"summary-license-" . $line['id'] . "\">$license"; $text .= "\t<small id=\"summary-license-" . $line['id'] . "\">$license";
$text .= "</small>\n";
} else if ($i == 3) {
$text .= "</small>\n";
} }
} }
if ($description != "") {
$text .= "\t<p id=\"summary-description-" . $line['id'] . "\">$description</p>\n";
}
$text .= "</div>\n"; $text .= "</div>\n";
$out = str_replace($matches[0], $text, $out); $out = str_replace($matches[0], $text, $out);