diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-29 23:16:50 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-29 23:16:50 +0200 |
| commit | 33436c949c681360e5283a6dc61372dde6563637 (patch) | |
| tree | ba809c241c3594dcfaf5ff8220e3167a4797a551 /lib | |
| parent | 05702da478d3fadd6a75586132a26442391f0455 (diff) | |
fix --test (ShellSheck)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/assert.source.sh | 2 | ||||
| -rw-r--r-- | 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|<tt>||; s|</tt>||;' fi } |
