Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front-matter doesn't parsed if file use CRLF #1168

Closed
cawa-93 opened this issue May 28, 2022 · 1 comment
Closed

Front-matter doesn't parsed if file use CRLF #1168

cawa-93 opened this issue May 28, 2022 · 1 comment

Comments

@cawa-93
Copy link
Contributor

cawa-93 commented May 28, 2022

Environment


  • Operating System: Linux
  • Node Version: v14.18.1
  • Nuxt Version: 3.0.0-rc.3-27550969.a4a3cff
  • Package Manager: yarn@1.22.17
  • Builder: vite
  • User Config: modules
  • Runtime Modules: @nuxt/content@2.0.0-27555126.58f2d50, @nuxt/ui@0.1.1-27555426.2ead323
  • Build Modules: -

Reproduction

https://codesandbox.io/s/trusting-shtern-zboubf?file=/content/index.md
https://codesandbox.io/s/strange-tree-ksgig6?file=/content/index.md

Describe the bug

If file use CRLF as EOL then Front-matter doesn't parsed correctly

Additional context

No response

Logs

No response

@farnabaz
Copy link
Member

This is fixed in #1161. Try again by upgrading module version in your sandbox.

yarn upgrade @nuxt/content

Note: changes does not release under @nuxt/content package, until release you can use @nuxt/content-edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants