Skip to content

fix: render inline links inside bold and italic markdown#236

Merged
backnotprop merged 1 commit intobacknotprop:mainfrom
flex-yj-kim:fix/inline-markdown-nested-bold-link
Mar 7, 2026
Merged

fix: render inline links inside bold and italic markdown#236
backnotprop merged 1 commit intobacknotprop:mainfrom
flex-yj-kim:fix/inline-markdown-nested-bold-link

Conversation

@flex-yj-kim
Copy link
Contributor

Summary

  • make inline markdown rendering recursive for bold and italic segments so nested links are parsed instead of rendered as plain text
  • apply the same fix in both the main viewer and the clean diff viewer to keep plan rendering consistent
  • update the editor sample plan content to cover linked text inside bold and italic formatting

Bold-wrapped links like **[text](url)** were rendered as plain bold text
because the bold regex matched first and treated inner content as a string.

Fix: recurse into InlineMarkdown for bold/italic inner content so nested
markdown (links, code, etc.) is properly parsed.

Affected:
- Viewer.tsx (main plan view)
- PlanCleanDiffView.tsx (diff view duplicate)
@flex-yj-kim flex-yj-kim marked this pull request as ready for review March 7, 2026 06:55
@backnotprop backnotprop merged commit 2f5fd47 into backnotprop:main Mar 7, 2026
3 checks passed
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.

2 participants