Skip to content

fix: ensure multi-line issue bodies render as full blockquotes#325

Merged
claude[bot] merged 1 commit intomainfrom
claude/issue-321-20260301-0140
Mar 1, 2026
Merged

fix: ensure multi-line issue bodies render as full blockquotes#325
claude[bot] merged 1 commit intomainfrom
claude/issue-321-20260301-0140

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 1, 2026

Summary

  • Adds a blockquote template function that replaces \n with \n> so every line of a multi-line issue body carries the Markdown blockquote prefix
  • Applies the same fix in buildWorkingMemorySection (the truncated-path helper) using strings.ReplaceAll

Before this fix, a body like "Line 1\nLine 2\nLine 3" rendered as:

> Line 1
Line 2
Line 3

After the fix it renders as:

> Line 1
> Line 2
> Line 3

Fixes #321

Generated with Claude Code

Replace newlines in issue body with newline+> before rendering so all
lines carry the blockquote prefix. Adds a blockquote template
function for the main template path and applies strings.ReplaceAll
in buildWorkingMemorySection for the truncated path.

Fixes #321

Co-Authored-By: Grey Newell <greyshipscode@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude claude bot merged commit bcbfc35 into main Mar 1, 2026
1 check passed
@claude claude bot deleted the claude/issue-321-20260301-0140 branch March 1, 2026 01:55
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.

bug: multi-line GitHub issue bodies break blockquote rendering in context bombs

0 participants