Skip to content

explorer 2026.11.19.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 22:54
· 6 commits to main since this release
acbd634

fix(archive): read HTML inside SVG/MathML integration points with a stack (#82)

TLDR

HTML inside SVG or MathML (a foreignObject, an mtext...) made the
bare-link pass hide the rest of the email, so a visible report URL after
such markup was not listed. It now tracks open elements the way the
parser does there.

Problem

dropEnd returned -1 at any tag but svg/math inside an integration
point. In <math><mtext><span>logo</span></mtext></math> https://vendor.example/report.csv Sanitize shows the URL, the pass
dropped it. Raised by GitHub Codex on the archiver's mirror
(production-support#200).

Fix

foreignEnd: a small stack of open elements (foreign, integration
point, or HTML). HTML-mode start tags inside integration points;
breakouts close back to the nearest HTML element or integration point;
end tags walk by the foreign or HTML rule; a walk past the root or an
ambiguous CDATA hides the rest. Templates keep their own loop. Mirrors
the archiver's _foreign_end.

Tests

4 new shared vectors checked against Sanitize; Python/Go parity on
160,000 fuzzed inputs (0 mismatches, none invented); go vet/build/test,
golangci-lint 0 issues.

What's Changed

  • fix(archive): read HTML inside SVG/MathML integration points with a stack by @jzhao234 in #82

Full Changelog: v2026.11.19.1...v2026.11.19.2