Skip to content

Guard HTML-to-Markdown conversions - #30426

Draft
caugner wants to merge 1 commit into
mainfrom
verify-markdown-html-roundtrip
Draft

caugner wants to merge 1 commit into
mainfrom
verify-markdown-html-roundtrip

Conversation

@caugner

@caugner caugner commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Guard HTML-to-Markdown conversions in descriptions and notes with the build renderer. Warn on conversions that would change rendered HTML and leave them unchanged.

Test results and supporting details

Comparison is strict except for href quoting, so cosmetic rendering changes are also rejected.

Related issues

Addresses #29508 (comment).

@github-actions github-actions Bot added infra Issue concerning project infrastructure, such as npm, GitHub Actions, or releases. linter Issue or pull request concerning JSON tests or linting. scripts Issue or pull request concerning scripts in . size:l Pull request changing 101-1,000 lines of code. labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner caugner changed the title Verify HTML-to-Markdown conversions render identically chore(lint): verify HTML-to-Markdown conversions render same Sep 3, 2026
Share the build renderer to reject conversions that would change rendered HTML.
Warn on unsafe conversions and leave them unchanged.
@caugner
caugner force-pushed the verify-markdown-html-roundtrip branch from 1be3ede to 63bc2ff Compare September 15, 2026 14:46
@caugner caugner changed the title chore(lint): verify HTML-to-Markdown conversions render same Guard HTML-to-Markdown conversions Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Issue concerning project infrastructure, such as npm, GitHub Actions, or releases. linter Issue or pull request concerning JSON tests or linting. scripts Issue or pull request concerning scripts in . size:l Pull request changing 101-1,000 lines of code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant