Skip to content

fix: skip _ inside attributes when only the attributes plugin is on - #374

Open
BetterAndBetterII wants to merge 1 commit into
comarkdown:mainfrom
BetterAndBetterII:fix/attributes-underscore-only-plugin
Open

fix: skip _ inside attributes when only the attributes plugin is on#374
BetterAndBetterII wants to merge 1 commit into
comarkdown:mainfrom
BetterAndBetterII:fix/attributes-underscore-only-plugin

Conversation

@BetterAndBetterII

Copy link
Copy Markdown

Summary

  • With only the attributes plugin enabled, target=_blank no longer auto-closes as italic and appends a leftover underscore.
  • Auto-close skips attribute braces whenever attributes is registered, without enabling component fences.

Fixes #362

Test plan

  • vitest default-plugins and auto-close tests
  • full comark suite 1427 passed, 2 todo

auto-close treated {target="_blank"} as italic and appended _. Enable attribute-brace skipping whenever the attributes plugin is registered, without turning on component fences.
@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

@BetterAndBetterII is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extra underscore appended when only using the attributes plugin

1 participant