diff options
-rw-r--r-- | adapter/format/uri2html | 2 |
1 files changed, 1 insertions, 1 deletions
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 "<!DOCTYPE html>${1+"<h1>$1</h1><hr>"}<ol>" +echo "<!DOCTYPE html>${1:+"<h1>$1</h1><hr>"}<ol>" sed -e '/^#/d' -e 's@.*@<li><a href="&">&</a>@' |