KhronosGroup / glTF-Sample-Assets

To store all models and other assets related to glTF
255 stars 30 forks source link

Incomplete Entry for 'Box With Spaces' #96

Open DRx3D opened 5 months ago

DRx3D commented 5 months ago

'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.

emackey commented 1 month ago

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.