Commit 077eef1
committed
fix(formatters): don't run cell values through markdown parser in writeTable
Cell values from column value() functions are already pre-formatted with
ANSI codes (chalk) and terminal hyperlinks (OSC 8). Running them through
renderInlineMarkdown() caused marked.lexer() to parse URLs inside OSC 8
hyperlink sequences as markdown autolinks, rendering them as visible
'text (url)' and blowing up column widths.1 parent e9c2e3f commit 077eef1
1 file changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 74 | + | |
81 | 75 | | |
82 | 76 | | |
83 | 77 | | |
| |||
0 commit comments