react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

Cannot load images with space in filename

Open thgh opened this issue 6 months ago • 0 comments

Problem is with getAbsoluteLocalPath which turns spaces in pathname into %20

https://github.com/diegomura/react-pdf/blob/ee5c96b80326ba4441b71be4c7a85ba9f61d4174/packages/image/src/resolve.ts#L34-L55

thgh avatar Jun 30 '25 14:06 thgh