Skip to content

test(web): Keep the tab off the blockquote marker in the nested fence test - #1135

Merged
Amronos merged 1 commit into
mainfrom
fix/marked-blockquote-tab-test
Nov 9, 2026
Merged

Amronos merged 1 commit into
mainfrom
fix/marked-blockquote-tab-test

Conversation

@Amronos

@Amronos Amronos commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Unblocks #1109 (lock file maintenance).

marked 18.1.2 changed how it handles a tab right after a blockquote marker (markedjs/marked#4110). In > \tconsole.log(x); it now turns the tab into two spaces. The CommonMark reference parser (commonmark.js) and marked 18.1.1 both keep the tab. 18.1.3 still has this behavior.

The highlights nested fences while preserving literal code, tabs, and blank lines test put its tab at the start of a quoted line, so it failed on #1109. The tab now comes later in the line (console.log(markup);\t// raw), so the test still checks that tabs survive, on both versions. The only visible effect for users: a line indented with a tab inside a code fence in a blockquote shows two spaces instead.

I didn't pin marked to 18.1.1 because that would drop the other 18.1.2 parser fixes for a rare case.

Verified: chat-markdown.test.tsx passes with main's lock file (marked 18.1.1) and with #1109's lock file (18.1.2).

Written by Opus 5.5 (opus-5.5) through Sprocket.

RetriggerView in GreptileConfidence Score: 5/5

This test-only change appears safe to merge.

Summary

Updates the quoted code-fence test to avoid placing a tab immediately after the blockquote marker.

  • The nested-fence test keeps its tab away from the blockquote marker.

Reviews (1) · Last reviewed commit: "test(web): Keep the tab off the blockquo..." · Reviewed by Greptile

… test

marked 18.1.2 expands a tab right after `> ` into spaces (markedjs/marked#4110),
which breaks the lock file maintenance PR (#1109).

Co-authored-by: usesprocket[bot] <306702232+usesprocket[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Nov 9, 2026

Copy link
Copy Markdown

Deployment failed for project usesprocket.dev with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/spikonado?upgradeToPro=build-rate-limit

@Amronos
Amronos merged commit af65a0b into main Nov 9, 2026
10 of 11 checks passed
@Amronos
Amronos deleted the fix/marked-blockquote-tab-test branch November 9, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant