mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-09 16:02:10 +00:00
Remove obsolete awk cmd from post-processing
This commit is contained in:
parent
74ff22b8f4
commit
9ae88a5bef
1 changed files with 1 additions and 2 deletions
|
@ -44,6 +44,5 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - | tail -n +2 >"$
|
|||
-e 's|([a-z])<data|\1 <data|' \
|
||||
-e 's#</span>(<a[^>]*rel="(nofollow ugc|ugc nofollow)"([^>]*)?>liked</a>)#</span> \1#' \
|
||||
-e 's#^[\t\s]*<(code|/pre)#<\1#' \
|
||||
"$tmp_file" \
|
||||
| awk '/^<\/code>/{printf "%s",$0;next}7'
|
||||
"$tmp_file"
|
||||
} >"$html_file"
|
||||
|
|
Loading…
Reference in a new issue