From cbee1c3a520dccd517cd445ef3b3e0a824bf85ea Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 9 Jun 2022 16:32:43 -0700 Subject: [PATCH] Another whitespace fix --- scripts/xhtmlize-single-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/xhtmlize-single-file.sh b/scripts/xhtmlize-single-file.sh index 5b73424..ad12cb7 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -31,7 +31,7 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - | sd '^\t' '' >" cat tmp.css # shellcheck disable=SC2016 # these are regex statements, not shell expressions tail -n +8 "$tmp_file" \ - | sd '\n\t*<(code|samp) ' '
<$1 ' \
+		| sd '\n\t*<(code|samp)( |>)' '
<$1$2' \
 		| sd '(?:\n)?\n(?:[\t\s]*)?
' '
' \ | sd '.span itemprop="familyName"' ' ' ' ' \