главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorferbass <ferbass@gmail.com>2022-08-24 22:30:02 +0900
committerferbass <ferbass@gmail.com>2022-08-24 22:30:02 +0900
commit7bf6e65f06b6541bc44f21a87d2dad515120db0c (patch)
treef9d60dbbd968cd8a39e54188331e66f8490e1442
parent136b295730afddefe8a6d05469d38b321f5416c6 (diff)
escape double quotes for attributes parameters
-rwxr-xr-xbb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bb.sh b/bb.sh
index 7e65925..af6fbdd 100755
--- a/bb.sh
+++ b/bb.sh
@@ -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