diff --git a/scripts/fetch-blog-feed.sh b/scripts/fetch-blog-feed.sh index 7c49cc5..228f862 100755 --- a/scripts/fetch-blog-feed.sh +++ b/scripts/fetch-blog-feed.sh @@ -1,11 +1,11 @@ #!/bin/bash # This script downloads the static JSON for the blog feed in order to improve SEO. TOPLEVEL=$(git rev-parse --show-toplevel) cd "${TOPLEVEL}"/_data wget -O blog-feed.json https://blog.bitcoinabc.org/json/ # HTML-escape unicode characters because Jekyll complains about them despite # these characters being within strings. -sed -i 's/\\\(u[a-z0-9]\{4\}\)/\&#x\1;/g' blog-feed.json +sed -i 's/\\u\([a-z0-9]\{4\}\)/\&#x\1;/g' blog-feed.json