Skip to content

Temp - #478

Closed
johnemau wants to merge 2 commits into
mainfrom
john-with-claude/markdown-xss-hardening
Closed

Temp#478
johnemau wants to merge 2 commits into
mainfrom
john-with-claude/markdown-xss-hardening

Conversation

@johnemau

@johnemau johnemau commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

> ### 🤖 AI content authored on behalf of @johnemau

mdToHtml now escapes & < > before converting, and emits <a> only for
http:, https:, mailto: or scheme-less targets. Adds ava tests and makes
the package's ava config run under the hoisted TypeScript.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
donate-button Ready Ready Preview Dec 1, 2026 12:33am UTC

Request Review

> ### 🤖 AI content authored on behalf of @johnemau

Allow the control-character regex and script-URL test inputs, and import
the helper through the src/ path the repo's xo config requires.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johnemau johnemau changed the title Show raw HTML and unsafe links as text in widget Markdown pages Temp Dec 1, 2026
@johnemau johnemau closed this Dec 1, 2026
@johnemau
johnemau deleted the john-with-claude/markdown-xss-hardening branch December 1, 2026 00:54

This branch was successfully deployed

1 active deployment
Preview — fe88a33a Deployed Dec 1, 2026 by vercel[bot]
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