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:

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