davestewart / nuxt-content-assets

Enable locally-located assets in Nuxt Content
https://npmjs.com/package/nuxt-content-assets
108 stars 7 forks source link

Use slashes instead of backslashes for file paths #37

Closed LoganTann closed 1 year ago

LoganTann commented 1 year ago

Background

When running this extension in a Windows OS, relative urls generated by this extension include both slashes and backslashes.

image

Proposal

While it does not break anything (image are still correctly rendered), it may be safer to replace backslashes by slashes.

Notes

None

davestewart commented 1 year ago

Thanks - good spot! I'll get on that.