summaryrefslogtreecommitdiff
path: root/lib/html.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-29 23:16:50 +0200
committerPaul Buetow <paul@buetow.org>2024-12-29 23:16:50 +0200
commit33436c949c681360e5283a6dc61372dde6563637 (patch)
treeba809c241c3594dcfaf5ff8220e3167a4797a551 /lib/html.source.sh
parent05702da478d3fadd6a75586132a26442391f0455 (diff)
fix --test (ShellSheck)
Diffstat (limited to 'lib/html.source.sh')
-rw-r--r--lib/html.source.sh2
1 files changed, 1 insertions, 1 deletions
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
}