From: Michael Wallner Date: Thu, 21 Jan 2021 09:03:15 +0000 (+0100) Subject: prettier package descriptions X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=295a02c0fe259efb6343e5e439807082dc97acb2;p=pharext%2Freplicator.pharext.org prettier package descriptions --- 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