NoelOConnell/quill-image-uploader

the URL of the uploaded image is misformed in the html %22

overcatbe opened this issue · 0 comments

Hi, i have successfully embedded this script, but the url is being misformed like this:
DELTA OK and readable:
{"ops":[{"insert":"Hello World!"},{"insert":{"image":"https://domain/1_2022-09-20_15:18:31.jpeg"}},{"insert":"\nSome initial "},{"attributes":{"bold":true},"insert":"bold"},{"insert":" text\n"}]}

HTML:
"<p>Hello World!<img src=\"https:/domain/1_2022-09-20_15:18:31.jpeg\"></p><p>Some initial <strong>bold</strong> text</p>"

So the image is added like this:
<img src=[\"https:/domain/1_2022-09-20_16:00:10.jpeg\"](https://domain/%22https://domain/1_2022-09-20_16:00:10.jpeg/%22)>

How do i get rid of the extra domain in the front and the %22 ?

ERROR from console
https://domain/%22https:/domain/1_2022-09-20_16:00:10.jpeg/%22/ 404