commit 5cc5df4d3e79c2a929421062dac8fc83baf3e4b7
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-07-31T12:53:53Z |
| subject | decodeURI for album titles |
commit 5cc5df4d3e79c2a929421062dac8fc83baf3e4b7
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-07-31T12:53:53Z
decodeURI for album titles
---
botanjs/src/Astro/Blog/AstroEdit/SiteLibrary.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/botanjs/src/Astro/Blog/AstroEdit/SiteLibrary.js b/botanjs/src/Astro/Blog/AstroEdit/SiteLibrary.js
index 3478892..848c1f1 100644
--- a/botanjs/src/Astro/Blog/AstroEdit/SiteLibrary.js
+++ b/botanjs/src/Astro/Blog/AstroEdit/SiteLibrary.js
@@ -53,8 +53,8 @@
{
return [
new DataKey("id", data.id)
- , new DataKey("title", data.name)
- , new DataKey("author", data.author)
+ , new DataKey("title", decodeURI(data.name))
+ , new DataKey("author", decodeURI(data.author))
, new DataKey("hash", data.hash)
];
}