A mod pane's Markdown block renders empty for over-long or control-character text
PitfallVerified 2 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.
Symptom#
A Claude Code mod pane that draws a Markdown block shows an empty pane when the text is longer than the engine's Markdown limit or contains control characters such as \r or color escape codes. Clicking a long inbox item or lesson in the rkb pane showed this.
Cause#
The engine refuses to render a Markdown block past its size limit or with control characters, and renders nothing instead of truncating.
Fix#
Strip control characters and cut the text at a line end near 9500 characters, then add a note such as "... N more characters. Run rkb inbox show <id> to read all." Test with a 20000-character item that contains a \r.
Evidence#
rkb pane: the truncation fix made long inbox items render again.
Also found by searching
- Claude Code mod pane shows empty for long markdown text
- pane draws nothing when text contains \r or color escape codes
- markdown block over the engine limit shows an empty pane
- clicking a long inbox item showed an empty pane