Skip to content

feat: sanitize HTML output with fast_html2md#3

Merged
atsyplenkov merged 3 commits into
mainfrom
feat/html-sanitizer-fast-html2md
Mar 19, 2026
Merged

feat: sanitize HTML output with fast_html2md#3
atsyplenkov merged 3 commits into
mainfrom
feat/html-sanitizer-fast-html2md

Conversation

@atsyplenkov
Copy link
Copy Markdown
Owner

@atsyplenkov atsyplenkov commented Mar 19, 2026

Summary

  • Replace the old HTML img-alt cleanup with an async sanitizer that converts HTML tables and images to Markdown.
  • Keep code fences and inline code untouched, with best-effort fallback on malformed fragments.
  • Update tests and README to match the new behavior.

atsyplenkov and others added 3 commits March 19, 2026 13:32
Updated the description to specify that paperdown converts HTML tables and images into CommonMark Markdown instead of just Markdown.
Copy link
Copy Markdown
Owner Author

@atsyplenkov atsyplenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@atsyplenkov atsyplenkov merged commit f043edc into main Mar 19, 2026
10 of 11 checks passed
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

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.

2 participants