diff options
author | ferbass <ferbass@gmail.com> | 2022-08-24 22:30:02 +0900 |
---|---|---|
committer | ferbass <ferbass@gmail.com> | 2022-08-24 22:30:02 +0900 |
commit | 7bf6e65f06b6541bc44f21a87d2dad515120db0c (patch) | |
tree | f9d60dbbd968cd8a39e54188331e66f8490e1442 | |
parent | 136b295730afddefe8a6d05469d38b321f5416c6 (diff) |
escape double quotes for attributes parameters
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -913,8 +913,8 @@ make_sitemap() { while [[ -f $blog_sitemap ]]; do sitemapfile=$blog_sitemap.$RANDOM; done { - echo "<?xml version="1.0" encoding="UTF-8"?>" - echo "<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">" + echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + echo "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">" echo -n "." 1>&3 while IFS='' read -r i; do echo -n "." 1>&3 |