Fix "URI malformed" crashes on Windows
This commit is contained in:
parent
a4a27724bf
commit
3306c82992
3 changed files with 21 additions and 4 deletions
|
@ -474,7 +474,7 @@ function ThumbnailImage({
|
|||
<div
|
||||
className="module-quote__icon-container"
|
||||
style={
|
||||
loadedSrc ? { backgroundImage: `url('${escape(loadedSrc)}')` } : {}
|
||||
loadedSrc ? { backgroundImage: `url('${encodeURI(loadedSrc)}')` } : {}
|
||||
}
|
||||
>
|
||||
{children}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue