From 625d9ac44074a31140fb88d40153e216f8c8bd67 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 23 Jul 2023 21:51:56 +0300 Subject: typo --- lib/html.source.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/html.source.sh') diff --git a/lib/html.source.sh b/lib/html.source.sh index 371866a..6c5fd36 100644 --- a/lib/html.source.sh +++ b/lib/html.source.sh @@ -71,12 +71,12 @@ html::make_link () { descr="$link" fi - local mastadon_verify='' - if [[ "$link" = "$MASTADON_URI" ]]; then - mastadon_verify=" rel='me'" + local mastodon_verify='' + if [[ "$link" = "$MASTODON_URI" ]]; then + mastodon_verify=" rel='me'" fi - echo "$descr
" + echo "$descr
" } html::process_inline () { @@ -197,7 +197,7 @@ $line" # Test default HTML variant. html::test::default () { - MASTADON_URI='' + MASTODON_URI='' local line='Hello world! This is a paragraph.' assert::equals "$(html::make_paragraph "$line")" '

Hello world! This is a paragraph.

' @@ -234,12 +234,12 @@ html::test::default () { assert::equals "$(generate::make_link html "$line")" \ "Description of the link
" - # Test Mastadon verification. - MASTADON_URI='https://fosstodon.org/@snonux' - line='=> https://fosstodon.org/@snonux Me at Mastadon' + # Test Mastodon verification. + MASTODON_URI='https://fosstodon.org/@snonux' + line='=> https://fosstodon.org/@snonux Me at Mastodon' assert::equals "$(generate::make_link html "$line")" \ - "Me at Mastadon
" - MASTADON_URI='' + "Me at Mastodon
" + MASTODON_URI='' line='=> http://example.org/image.png' assert::equals "$(generate::make_link html "$line")" \ -- cgit v1.2.3