From 0e3cf3d5e42f884c022720b02f79e87fe060f93a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 13 May 2021 18:08:41 +0100 Subject: simplify html css style --- modules/html.source.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/html.source.sh b/modules/html.source.sh index ef6e7b11..7d337b02 100644 --- a/modules/html.source.sh +++ b/modules/html.source.sh @@ -20,7 +20,7 @@ html::make_heading () { html::make_quote () { local -r quote="${1/> }" - echo "
$(html::special "$quote")
" + echo "

$(html::special "$quote")

" } html::make_img () { @@ -122,7 +122,7 @@ html::test () { assert::equals "$(html::make_heading "$line" 3)" '

Header 3

' line='> This is a quote' - assert::equals "$(html::make_quote "$line")" '
This is a quote
' + assert::equals "$(html::make_quote "$line")" '

This is a quote

' line='=> https://example.org' assert::equals "$(generate::make_link html "$line")" \ -- cgit v1.2.3