Skip to content

explorer 2026.11.19.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 18:19
· 8 commits to main since this release
e8f4c38

fix(archive): resume at an HTML tag that ends SVG or MathML (#81)

TLDR

When an HTML tag like <span> or <p> appears inside an SVG or MathML
element, a browser ends the SVG there and keeps reading. The bare-link
pass hid the rest of the body instead, so a visible report URL after an
inline SVG logo was never listed. It now resumes at that tag, as the
renderer does.

Problem

dropEnd returned -1 (left open: hide the rest) at a foreign-content
breakout tag. In <svg><span>logo</span></svg> https://vendor.example/report.csv, Sanitize shows the URL but the pass
dropped it. Raised by GitHub Codex on the archiver's mirror
(production-support#200).

Fix

  • dropLevel.breaksOut: a breakout start tag, or </p> / </br>,
    outside an integration point ends the element; dropEnd returns the
    tag's position and the scan resumes there, reading it as HTML.
  • <font> breaks out only with color/face/size attributes, so it still
    hides the rest (dropped, never invented).
  • Mirrors the archiver's _drop_end; shared vectors copied from
    production-support#200.

Tests

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

What's Changed

  • fix(archive): resume at an HTML tag that ends SVG or MathML by @jzhao234 in #81

Full Changelog: v2026.11.18.2...v2026.11.19.1