mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-11 18:56:14 +09:00
Also decode attached image URLs
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ function collectAttachedImages(data) {
|
||||
.map(attachment => ({
|
||||
id: attachment.post_id[0],
|
||||
postId: attachment.post_parent[0],
|
||||
url: attachment.attachment_url[0]
|
||||
url: decodeURI(attachment.attachment_url[0])
|
||||
}));
|
||||
|
||||
console.log(images.length + ' attached images found.');
|
||||
|
||||
Reference in New Issue
Block a user