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

The description in the UlandingHero component cannot display the line breaks from the YAML text. #1864

Closed
henghenghahaha opened this issue Jun 13, 2024 · 1 comment
Labels
bug Something isn't working pro

Comments

@henghenghahaha
Copy link

Environment

  • Operating System: Windows_NT
  • Node Version: v20.14.0
  • Nuxt Version: 3.12.1
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.6
  • Package Manager: npm@10.7.0
  • Builder: -
  • User Config: ssr, extends, modules, hooks, ui, colorMode, routeRules, devtools, typescript, eslint
  • Runtime Modules: @nuxt/content@2.12.1, @nuxt/eslint@0.3.13, @nuxt/image@1.7.0,
    @nuxt/ui@2.16.0, @nuxt/fonts@0.7.0, @nuxthq/studio@1.1.2, @vueuse/nuxt@10.10.1, nuxt-og-image@2.2.4
  • Build Modules: -

Version

v2.9.6

Reproduction

image
image
image

Description

The description in the UlandingHero component cannot display the line breaks from the YAML text.

Additional context

No response

Logs

No response

@henghenghahaha henghenghahaha added the bug Something isn't working label Jun 13, 2024
@benjamincanac benjamincanac added the pro label Jun 13, 2024 — with Volta.net
Copy link
Member

Have you tried using the #description slot with a <span v-html="page.hero.description" /> inside?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pro
Projects
None yet
Development

No branches or pull requests

2 participants