1 parent 520ce0d commit 61a890dCopy full SHA for 61a890d
1 file changed
scripts/extract-solid-ref.mjs
@@ -4145,7 +4145,9 @@ function inlineCode(value) {
4145
// A code span must stay on one line: Prettier re-indents a multi-line span
4146
// inside a list item on every pass, so a printed multi-line type (a union
4147
// of a function type and `null`) is collapsed to single-space separators.
4148
- const text = String(value).replace(/\s*\n\s*/g, " ").trim();
+ const text = String(value)
4149
+ .replace(/\s*\n\s*/g, " ")
4150
+ .trim();
4151
const fence = text.includes("`") ? "``" : "`";
4152
return `${fence}${text}${fence}`;
4153
}
0 commit comments