diff --git a/scripts/xhtmlize-single-file.sh b/scripts/xhtmlize-single-file.sh index d86b0fe..bfab927 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -39,12 +39,13 @@ run_xmllint() { # delete the stylesheet from the html file; we'll re-insert it later. sed 7d "$html_file" | run_xmllint | tail -n +2 >"$tmp_file" { - head -n7 "$tmp_file" + head -n7 "$tmp_file" | sed -e 's/^\t//' cat "${OUTPUT_DIR:?}/tmp.css" # shellcheck disable=SC2016 # these are regex statements, not shell expressions #shellcheck source=/home/rkumar/Executables/ghq/git.sr.ht/~seirdy/seirdy.one/scripts/xhtmlize.sh sed \ -e '1,7d' \ + -e 's/^\t//' \ -e 's| <|' \ -e 's|
|
|' \
diff --git a/scripts/xhtmlize.sh b/scripts/xhtmlize.sh
index 1958e63..32ad48a 100644
--- a/scripts/xhtmlize.sh
+++ b/scripts/xhtmlize.sh
@@ -16,7 +16,7 @@ sed -i -e 's|"$output_dir/tmp.css"
 cleanup() {
 	rm -f "$output_dir/tmp.css"