From 295a02c0fe259efb6343e5e439807082dc97acb2 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 21 Jan 2021 10:03:15 +0100 Subject: [PATCH] prettier package descriptions --- public/html.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/public/html.php b/public/html.php index 659d19a..dfddc50 100644 --- a/public/html.php +++ b/public/html.php @@ -92,7 +92,7 @@ $res->addHeader("Link", "<" . dirname((new http\Env\Url)->path) . $css . ">; rel .old-version, #new-toggle { display: none; } - .package-description { + p.package-description, div.package-description p { white-space: pre-line; } form * { @@ -125,8 +125,22 @@ $res->addHeader("Link", "<" . dirname((new http\Env\Url)->path) . $css . ">; rel


- License:

-

+ License:
+ View at PECL
+ +
+ compile( MarkdownDocument::AUTOLINK | + MarkdownDocument::ONE_COMPAT); + echo $md->getHtml(); + ?> +
+ +

+ +

+ @@ -185,7 +199,7 @@ $res->addHeader("Link", "<" . dirname((new http\Env\Url)->path) . $css . ">; rel -- 2.30.2