Using markdown loader in vue, rendering speciall characters differently in prod and dev

83 Views Asked by At

I'm using Vue on netlify and it's rendering special characterss differently in prod and dev: I'm using markdown-loader and vue showdown load the content from my md files. But they are rendering differently on localhost (Windows) and in prod (netlify) when I run on localhost my codeblocks render like this:

{
    "bucket_name": "gtm-state",
    "blob_name": "state.json",
    "gtm_containers": ["32154678_156753"],
    "slack_hook": "https://my.slack.hook.com",
    "microsoft_hook": "https://my.microsoft.hook.com",
    "cloud_credetials": "mycredentials.json"
}

but in prod i get this result:

{
    "bucket_name": "gtm-state",
    "blob_name": "state.json",
    "gtm_containers": ["32154678_156753"],
    "slack_hook": "https://my.slack.hook.com",
    "microsoft_hook": "https://my.microsoft.hook.com",
    "cloud_credetials": "mycredentials.json"
}

Any idea what I'm doing wrong?

0

There are 0 best solutions below