Skip to content

Nested attributes are ignored #1452

Closed
nuxtlabs/remark-mdc
#51
@tobiasdiez

Description

@tobiasdiez

Environment

  • Operating System: Linux
  • Node Version: v16.16.0
  • Nuxt Version: 3.0.0-rc.8
  • Package Manager: yarn@1.22.19
  • Builder: vite
  • User Config: alias, nitro, ssr, meta, css, modules, watch, runtimeConfig, serverHandlers, storybook, vite
  • Runtime Modules: @nuxtjs/tailwindcss@5.3.1, @pinia/nuxt@0.4.0, ./modules/storybook, ./modules/graphql, nuxt3-runtime-compiler-module@1.0.4, @nuxt/content@2.0.1
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-fxpgdf?file=content/index.md

Describe the bug

Given the following markdown content

![Nuxt](https://nuxtjs.org/design-kit/colored-logo.svg){.h-6}
[![Nuxt](https://nuxtjs.org/design-kit/colored-logo.svg){.h-6}](https:test)

in the rendered html, the first image the class h-6 is present, in the second not.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions