From 28087df0b79f7e83edb362b4694789828f11c496 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 18 May 2024 13:33:49 +0300 Subject: move fonts into fonts dir --- lib/html.source.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/html.source.sh') diff --git a/lib/html.source.sh b/lib/html.source.sh index daa4224..1666239 100644 --- a/lib/html.source.sh +++ b/lib/html.source.sh @@ -131,10 +131,10 @@ html::source_highlight () { echo '' else local style_css - if [ ! -z "$SOURCE_HIGHLIGHT_CSS" ]; then + 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