mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-07-18 06:03:45 +09:00
Fix various encoding/decoding issues
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ async function loadImageFilePromise(imageUrl) {
|
||||
let buffer;
|
||||
try {
|
||||
buffer = await requestPromiseNative.get({
|
||||
url: imageUrl,
|
||||
url: encodeURI(imageUrl),
|
||||
encoding: null, // preserves binary encoding
|
||||
headers: {
|
||||
'User-Agent': 'wordpress-export-to-markdown'
|
||||
|
||||
Reference in New Issue
Block a user