Skip to content

Fix HTML sanitization for formulas#5

Open
atsyplenkov wants to merge 8 commits into
mainfrom
fix/formula-html-sanitizer
Open

Fix HTML sanitization for formulas#5
atsyplenkov wants to merge 8 commits into
mainfrom
fix/formula-html-sanitizer

Conversation

@atsyplenkov
Copy link
Copy Markdown
Owner

This broadens HTML sanitization from table/img fragments to allowlisted HTML regions while preserving code spans, malformed HTML, and TeX math content.

Closes #4.

atsyplenkov and others added 7 commits March 19, 2026 13:32
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 19, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 88.81119% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.21%. Comparing base (560fa59) to head (a579b31).

Files with missing lines Patch % Lines
src/core/markdown.rs 88.81% 16 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   85.84%   86.21%   +0.37%     
==========================================
  Files           8        8              
  Lines        1102     1197      +95     
==========================================
+ Hits          946     1032      +86     
- Misses        156      165       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Formula parsing with sanitize

2 participants