Skip to content

[Bug]: fern-docs-ci missing MDX safety check for non-self-closing img tags #1214

Description

@pdmack

Prerequisites

  • I searched existing issues
  • I can reproduce this issue

Bug Description

fern check validates Fern configuration only — it does not parse MDX content. Non-self-closing <img> tags (e.g. <img src="foo.png">) pass fern check but cause fern generate to fail with Unexpected closing tag </p>. There is no CI step to catch this before merge.

Root-caused from a live failure in NVIDIA/topograph#281, fixed in NVIDIA/aicr#620.

Component

Documentation/CI

Steps to Reproduce

  1. Add a non-self-closing <img src="..."> to a docs markdown file
  2. Push to a pull-request/* branch — CI passes
  3. Run fern generate --docs — fails with Unexpected closing tag </p>

Environment

  • NVSentinel version: all
  • Kubernetes version: N/A
  • Deployment method: N/A

Logs/Output

Unexpected closing tag </p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions