Commit 8f7a1bf
committed
fix(formatters): use divider() in issue/list.ts and escape Seer text in headings
- issue/list.ts: replace inline muted("─".repeat(n)) with divider(n) from
markdown.ts — the helper already exists and is re-exported via the
formatters index; inlining it duplicated the helper logic
- seer.ts buildRootCauseMarkdown: escape cause.description with
escapeMarkdownInline() before embedding in the '### Cause #N: ...' heading
- seer.ts formatSolution: escape solution.data.one_line_summary with
escapeMarkdownInline() before embedding in '**Summary:** ...' bold text
— Seer AI-generated text can contain underscores, asterisks, and backticks
which the markdown parser would interpret as emphasis or code spans1 parent 0cfeda9 commit 8f7a1bf
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| |||
257 | 259 | | |
258 | 260 | | |
259 | 261 | | |
260 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
261 | 265 | | |
262 | 266 | | |
263 | 267 | | |
| |||
0 commit comments