Skip to content

Commit 584bae8

Browse files
Copilotpelikhan
andcommitted
Complete: Fix markdown log RPC title rendering - all tests passing
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent b4175da commit 584bae8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/logger/markdown_logger.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ func (ml *MarkdownLogger) Log(level LogLevel, category, format string, args ...i
147147
// Format as markdown bullet point with emoji
148148
// Use code blocks for multi-line content or technical details
149149
var logLine string
150-
150+
151151
// Check if message is already pre-formatted (RPC messages with markdown formatting)
152152
// RPC messages start with ** and contain → or ← arrows
153153
isPreformatted := strings.HasPrefix(message, "**") && (strings.Contains(message, "→") || strings.Contains(message, "←"))
154-
154+
155155
if isPreformatted {
156156
// Pre-formatted content (like RPC messages) - just add bullet and emoji
157157
logLine = fmt.Sprintf("- %s %s %s\n", emoji, category, message)

0 commit comments

Comments
 (0)