Skip to content

MDC inline components do not work if followed by non-whitespace character #1217

@leipert

Description

@leipert

Environment


  • Operating System: Darwin
  • Node Version: v16.13.0
  • Nuxt Version: 3.0.0-rc.3
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: app, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Reproduction

Imagine there is an inline component Comp that takes a slot:

Inline component `:Comp` :Comp[works] beautifully, unless I put it before a :Comp[comma], or a :Comp[period].

gets rendered as:

Screenshot 2022-06-05 at 22 58 36

Describe the bug

Inline components :name[slot] do not work if followed by a non-whitespace character like a comma or period.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions