fix(captain): an answer lost everything after its chart
The "drop an unclosed code block" cleanup matched a chart's closing fence
whenever no backtick followed it, and deleted that fence and the rest of the
answer — the table note, the «ملحوظة» line. It now cuts only when the number of
fences is odd, and never a chart that is still being written. Found on the
first live end-to-end answer.
Co-Authored-By:
Claude Opus 5 (1M context) <noreply@anthropic.com>
Showing
Please register or sign in to comment