diff --git a/scripts/xhtmlize.sh b/scripts/xhtmlize.sh index dca15c9..1d56c24 100644 --- a/scripts/xhtmlize.sh +++ b/scripts/xhtmlize.sh @@ -11,7 +11,7 @@ script_dir="$(dirname "$0")" temp_resume="$(mktemp)" # I have an alias for a redirect. I also define the redirect in Nginx, but this is there for the envs.net/~seirdy mirror. Hugo aliases don't have trailing slashes; this will trip up xmllint. -sed -i -E -e 's#<((link|meta) .*)">#<\1" />#' "$output_dir/resume/index.html" +sed -i -e 's|#<\1" />#' "$output_dir/resume/index.html" mv "$output_dir/resume/index.html" "$temp_resume" {