Skip to content

Commit ec3fa08

Browse files
committed
cleanup
1 parent bac1f3f commit ec3fa08

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

__tests__/transformers/mdx-component-blocks.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,6 @@ hello
547547
});
548548

549549
it('position spans the full closing tag for a component with trailing sibling content inside a blockquote', () => {
550-
// Regression: in the trailing-content path, positionEndingAtConsumed used the
551-
// stripped value length to compute end.offset. Blockquote lines have '> ' prefixes
552-
// in the source that are absent from the html node's value, causing the offset to
553-
// be computed too early and the closing tag to appear truncated when sliced.
554550
const markdown = '> <Tag>\n> body\n> </Tag>\n> trailing';
555551
const tree = parseWithPlugin(markdown);
556552

0 commit comments

Comments
 (0)