glTF-Sample-Assets icon indicating copy to clipboard operation
glTF-Sample-Assets copied to clipboard

Incomplete Entry for 'Box With Spaces'

Open DRx3D opened this issue 2 years ago • 1 comments

'Box With Spaces' does not correctly display in the list of assets. It appears to be solely in the process of creating the asset list markdown code.

DRx3D avatar Jan 05 '24 21:01 DRx3D

The PHP code needs to be modified to produce %20 for spaces in Markdown link targets, for example:

[Box With Spaces](./Box%20With%20Spaces/)

Note the label text can use real spaces, but the link target cannot contain a space.

It looks like one area of PHP code does contain a string-replace for %20 called $pathSafe or similar, but these safer paths are not used for Markdown link targets.

emackey avatar May 11 '24 21:05 emackey