From 88df7ba119409b973c678eab8edfb0e74ebc9e5c Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 15 Nov 2023 10:25:27 -0800 Subject: [PATCH] fix bad regex substitution --- 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 4d0c635..8b04b67 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -37,8 +37,8 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - | tail -n +2 >"$ #shellcheck source=/home/rkumar/Executables/ghq/git.sr.ht/~seirdy/seirdy.one/scripts/xhtmlize.sh sed \ -e '1,7d' \ - -e 's|"u-photo photo" ?/> ( )?.span itemprop="familyName|  <|' \ -E \ -e 's|([a-z])(]*rel="(nofollow ugc|ugc nofollow)"([^>]*)?>liked)# \1#' \