Bendik Knapstad
Bendik Knapstad

Reputation: 1458

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

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?

Upvotes: 0

Views: 94

Answers (0)

Related Questions