escape single quotes

This commit is contained in:
rf
2022-09-24 22:24:27 -05:00
parent 6b9ba3a59a
commit 9c201c6f27

View File

@@ -68,8 +68,6 @@ for file in $(ls "$BLOG_DIR/posts"); do
content=$(sed -n '4,$p' $target_file | tr -d '\n')
content=${1//&/&}
content=${s//</&lt;}
content=${s//>/&gt;}
content=${s//'"'/&quot;}
content=${s//"'"/&lsquo;}