From 588ffda72f452b02f699c851451a1f6542cf701b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 25 Mar 2023 17:52:28 +0200 Subject: also add publishing date to .tpl posts --- lib/template.source.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/template.source.sh') diff --git a/lib/template.source.sh b/lib/template.source.sh index 204078d..17f6a5f 100644 --- a/lib/template.source.sh +++ b/lib/template.source.sh @@ -62,7 +62,7 @@ $line" echo "$line" ;; esac - done | $SED 's/^\[\[\[/<<>>/; s/^\[\[/<>>/; s/^\[\[/</;' } template::_line () { @@ -138,4 +138,6 @@ Just so that you know' echo bar >>>' assert::equals "$(template::_generate <<< "$template5")" "$expect5" + + assert::equals "$(template::_generate <<< ']')" '>' } -- cgit v1.2.3