Skip to content

Report markdown: the full-scan hint blockquote swallows the lines below it #190

Closed

Description

@nc9

packages/report/src/output/markdown.ts renders the #1180 full-scan hint as a blockquote:

const hint = fullScanHint(report);
if (hint) lines.push(`> ${hint}  `);
const fallbacks = fetchFallbacksLine(report);
if (fallbacks) lines.push(`${fallbacks}  `);
if (version) lines.push(`**Version:** ${version}`);

There is no blank line after it, so CommonMark lazy continuation pulls the fetch-fallbacks line and the **Version:** line into the blockquote. A report with a partial scan renders its recovery note and its generator version as part of the warning quote.

Reproduced with remark-gfm:

**Pages:** 1
> Partial scan: ...
Scan: 1 page crawled.
**Version:** 1.2.3

renders as one <blockquote> containing all three.

Noticed while adding the seed-redirect disclosure in #189, which uses a plain line for exactly this reason.

Acceptance Criteria

  • The full-scan hint no longer absorbs the lines that follow it (either a blank line after the blockquote, or a plain line like the sibling disclosures use)
  • A test parses or asserts the block boundary rather than only checking that the hint text is present
  • Existing markdown report tests still pass

Activity

  1. added
    bug
    on Sep 1, 2026
  2. added a commit that references this issue on Sep 2, 2026
    f68b310
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions