You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(webview): mask reference link definitions before mention rewriting
Address CodeRabbit finding on #1257:
- Add definition to MENTION_MASK_NODE_TYPES so a reference link destination (e.g. [docs]: @/docs/readme.md) is masked before prepareMentions() runs. Without it, the destination was rewritten to a mention placeholder and that placeholder became the reference link's href, corrupting the href with control characters instead of rendering a mention span.
- Regression test: the reference link keeps its original href, the destination never becomes a mention span, a real mention in the body stays actionable, and no placeholder control characters leak into the output.
0 commit comments