Skip to content

Commit 25ee8a0

Browse files
authored
Merge pull request #25 from ticruz38/fix/encode-response
Encode response url
2 parents 2e49a62 + 44e1a07 commit 25ee8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/FileUploadExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class Uploader {
213213
if (node.attrs.src === nodeRef.attrs.src) {
214214
this.updateNodeAttributes(pos, {
215215
...response,
216-
src: response.url,
216+
src: encodeURI(response.url),
217217
uploading: false,
218218
})
219219
}

0 commit comments

Comments
 (0)