1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
This commit is contained in:
Rohan Kumar 2022-06-02 13:08:09 -07:00
parent c1f991efff
commit 449a1be659
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -26,7 +26,7 @@ trap cleanup EXIT
trap cleanup EXIT
sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - -o "$tmp_file"
head -n7 "$tmp_file" >> "$xhtml_file"
cat /tmp/css.css >>"$xhtml_file"
cat tmp.css >>"$xhtml_file"
tail -n +8 "$tmp_file" \
| sd '<pre>\n\t*<code ' '<pre><code ' \
| sd '(?:\n)</code>\n\t*</pre>' '</code></pre>' >>"$xhtml_file"