From 762dc3a1a1c7ef049aec528a5e8b8251ac9bc7b5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 Apr 2021 07:17:59 +0100 Subject: improve link style --- doit.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doit.sh') diff --git a/doit.sh b/doit.sh index 693dd39..311b503 100755 --- a/doit.sh +++ b/doit.sh @@ -133,7 +133,7 @@ html::link () { # If no description use link itself test -z "$descr" && descr="$link" - echo "$descr
" + echo "$descr
" } html::gemini2html () { @@ -256,15 +256,15 @@ html::test () { line="=> http://example.org" assert::equals "$(html::link "$line")" \ - "http://example.org
" + "http://example.org
" line="=> index.gmi" assert::equals "$(html::link "$line")" \ - "index.html
" + "index.html
" line="=> http://example.org Description of the link" assert::equals "$(html::link "$line")" \ - "Description of the link
" + "Description of the link
" line="=> http://example.org/image.png" assert::equals "$(html::link "$line")" \ -- cgit v1.2.3