From 33436c949c681360e5283a6dc61372dde6563637 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 29 Dec 2024 23:16:50 +0200 Subject: fix --test (ShellSheck) --- lib/assert.source.sh | 2 +- lib/html.source.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/assert.source.sh b/lib/assert.source.sh index 990194c..f3b3f2e 100644 --- a/lib/assert.source.sh +++ b/lib/assert.source.sh @@ -67,7 +67,7 @@ assert::shellcheck () { --norc \ --external-sources \ --check-sourced \ - --exclude=SC2155,SC2010,SC2154,SC1090,SC2012,SC2016 \ + --exclude=SC2155,SC2010,SC2154,SC1090,SC2012,SC2016,SC1091 \ ./"$0" set +e } diff --git a/lib/html.source.sh b/lib/html.source.sh index 6709dfa..52fa2f4 100644 --- a/lib/html.source.sh +++ b/lib/html.source.sh @@ -139,7 +139,7 @@ html::source_highlight () { if [ -n "$SOURCE_HIGHLIGHT_CSS" ]; then style_css="--style-css-file=$SOURCE_HIGHLIGHT_CSS" fi - $SOURCE_HIGHLIGHT --src-lang="$language" $style_css <<< "$bare_text" | + $SOURCE_HIGHLIGHT --src-lang="$language" "$style_css" <<< "$bare_text" | $SED 's|||; s|||;' fi } -- cgit v1.2.3