From 840bf38de6bad0efa823806677a48e2f03702564 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 2 Jun 2022 20:01:50 -0700 Subject: [PATCH] Whitespace fixes --- content/_index.md | 2 +- layouts/shortcodes/indieweb-author.html | 3 +-- scripts/xhtmlize-single-file.sh | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/_index.md b/content/_index.md index dfb4765..2fb63f3 100644 --- a/content/_index.md +++ b/content/_index.md @@ -13,7 +13,7 @@ sitemap: Seirdy’s Home ============= -I'm , a.k.a. Seirdy (online handle). +I'm , a.k.a. Seirdy (online handle). Other versions of this website ------------------------------ diff --git a/layouts/shortcodes/indieweb-author.html b/layouts/shortcodes/indieweb-author.html index 00283c3..44770ef 100644 --- a/layouts/shortcodes/indieweb-author.html +++ b/layouts/shortcodes/indieweb-author.html @@ -24,6 +24,5 @@ + Rohan Kumar diff --git a/scripts/xhtmlize-single-file.sh b/scripts/xhtmlize-single-file.sh index f324d44..ef12556 100644 --- a/scripts/xhtmlize-single-file.sh +++ b/scripts/xhtmlize-single-file.sh @@ -30,7 +30,8 @@ sed 7d "$html_file" | xmllint --format --encode UTF-8 --noent - -o "$tmp_file" cat tmp.css tail -n +8 "$tmp_file" \ | sd '\n\t*\n(?:[\t\s]*)?' '' + | sd '(?:\n)?\n(?:[\t\s]*)?' '' \ + | sd '.span itemprop="familyName"' ' >"$xhtml_file" # replace the html file with the formatted xhtml5 file, excluding the xml declaration