Skip to content

Commit 99075d9

Browse files
committed
Correct the standalone line ending type in the spec
1 parent 639884a commit 99075d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎specs/executable-mdx-spec.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ interface ComponentElement {
306306
expressions: Record<string, string>; // Eval expression props — raw text, resolved at expansion time
307307
children: Segment[]; // Segments between opening and closing tags
308308
selfClosing: boolean;
309-
lineEnd?: true; // Stands on its own line and owns that line's newline (§2.2)
309+
lineEnd?: "\n" | "\r\n" | true; // Consumed standalone line ending (§2.2). Legacy true means LF.
310310
lineIndent?: string; // Indentation after the prefix before a standalone non-block element (§2.2)
311311
}
312312

0 commit comments

Comments
 (0)