content
content copied to clipboard
Unwanted class added on anchor links when target="_self"
Environment
- Operating System: Darwin
- Node Version: v20.5.1
- Nuxt Version: 3.12.3
- CLI Version: 3.12.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: modules, site, content, devtools, css, ogImage, vite, app, runtimeConfig, compatibilityDate
- Runtime Modules: @nuxt/[email protected], @vueuse/[email protected], @unlazy/[email protected], [email protected], @nuxt/[email protected], @nuxtjs/[email protected]
- Build Modules: -
Reproduction
Create a link of type target="_self" in an md file.
Describe the bug
When creating an anchor link within an md file like so:
example.md
Go to Anchor Title by [clicking this link](#anchor){target="_self"}
# [Anchor Title]{id="anchor"}
The output a tag gets the class router-link-active & router-link-exact-active.
Expected result: don't add any classes to the a tag
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.