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

codecov-commenter commented Mar 19, 2026

Copy link
Copy Markdown

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

Codecov Report

❌ Patch coverage is 90.51724% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.21%. Comparing base (aaac223) to head (a579b31).
⚠️ Report is 48 commits behind head on main.

Files with missing lines Patch % Lines
src/core/markdown.rs 90.82% 21 Missing ⚠️
src/core.rs 66.66% 1 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.45%   86.21%   +0.76%     
==========================================
  Files           8        8              
  Lines         990     1197     +207     
==========================================
+ Hits          846     1032     +186     
- Misses        144      165      +21     

☔ View full report in Codecov by Harness.
📢 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