Skip to content

Commit 61a890d

Browse files
extract-solid-ref: prettier
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 520ce0d commit 61a890d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎scripts/extract-solid-ref.mjs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4145,7 +4145,9 @@ function inlineCode(value) {
41454145
// A code span must stay on one line: Prettier re-indents a multi-line span
41464146
// inside a list item on every pass, so a printed multi-line type (a union
41474147
// of a function type and `null`) is collapsed to single-space separators.
4148-
const text = String(value).replace(/\s*\n\s*/g, " ").trim();
4148+
const text = String(value)
4149+
.replace(/\s*\n\s*/g, " ")
4150+
.trim();
41494151
const fence = text.includes("`") ? "``" : "`";
41504152
return `${fence}${text}${fence}`;
41514153
}

0 commit comments

Comments
 (0)