From dcfe3cafca542a38a213a44e201e317c68f89dcd Mon Sep 17 00:00:00 2001 From: bptato Date: Sun, 22 Dec 2024 22:31:30 +0100 Subject: uri2html: skip hr if title is empty --- adapter/format/uri2html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapter/format/uri2html') diff --git a/adapter/format/uri2html b/adapter/format/uri2html index 20ae5670..2fdfcc39 100644 --- a/adapter/format/uri2html +++ b/adapter/format/uri2html @@ -1,3 +1,3 @@ #!/bin/sh -echo "${1+"

$1


"}
    " +echo "${1:+"

    $1


    "}
      " sed -e '/^#/d' -e 's@.*@
    1. &@' -- cgit 1.4.1-2-gfad0