static-cms
static-cms copied to clipboard
In local backend on image widget, sometimes the string gets a "\r" addition
I dont know why, but sometimes I get build errors on images, when I look at the md file I see that the image gets a "\r" added to the string.
What OS are you running your local environment on?
Windows 11 :(
Please provide a sample of a markdown file where this occurred.
Hi this is the output:
....
og_image: "/src/assets/og_image_nebulix.png\r"
Field:
{
label: t("og_image"),
name: "og_image",
widget: "image",
required: false,
hint: t("label_og_image"),
},
Here the .md and the config https://github.com/unfolding-io/nebulix/blob/main/src/content/page/index.mdx https://github.com/unfolding-io/nebulix/blob/main/src/cms/page.mjs
Are you only seeing this issue when using the proxy server locally? Does it work as expected when not using the proxy server?
I only see the bug when I run the proxy server, did not have build errors on production.