refactor: drop three unreachable inline-markup patterns

↗ view on GitHub · Eli Ziff · 2026-07-27 · 1050ff3f

nextInlineMatch listed <strong|b>, <em|i> and <code> twice. The earlier
entries match everywhere the later ones do and win the priority tie, so the
duplicates were dead weight executed against every offset of every legal
document rendered.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUsMXzBsEJ27DjJVPSfW5o
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents efcdd7c7
Stats 1 file changed , -15
Part of Internal cleanup, dead-code removal, and the canonical route builder

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-1050ff3f.md from inside the repo you want the change in.

⬇ Download capture-commit-1050ff3f.md