Skip to content

Keep concealed cell backgrounds in HTML - #178

Merged
tony merged 2 commits into
masterfrom
fix/84-concealed-cell-background
Dec 5, 2026
Merged

tony merged 2 commits into
masterfrom
fix/84-concealed-cell-background

Conversation

@tony

@tony tony commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Closes #84

What changed, and why:

The HTML formatter keeps the cell's background and occupied width when SGR 8 conceals the glyph. The glyph and its decorations stay hidden.

Checks run:

On Linux, Ruff formatting and lint, ty for Python 3.12 through 3.15, the full pytest suite with doctests, compiled Ghostty comparisons, and the Sphinx warnings-as-errors build passed.

Tool use:

Codex prepared the change and ran the local checks. A separate Codex reviewer replayed the changed behavior and checked the publication tree against the reviewed patch.

tony added a commit that referenced this pull request Dec 3, 2026
why: Readers need the behavior and scope of this change at release.

what:
- Add the unreleased entry for PR #178
- Preserve previously published notes and the parent branch's entries
@tony
tony marked this pull request as ready for review December 3, 2026 01:48
@tony
tony force-pushed the fix/84-concealed-cell-background branch from f460e7b to 526c38b Compare December 3, 2026 23:58
tony added 2 commits December 5, 2026 07:21
why: Applying CSS visibility:hidden to the span hides its background
     along with the glyph and its decorations.

what:
- Render the background on the visible span.
- Hide the glyph and its text decorations at the original width.
- Cover ordinary and reversed concealed styles.

Fixes #84
why: HTML concealment can hide the cell's background along with the
     glyph.

what:
- Document SGR 8 output for the glyph, decorations, width and
  background.
@tony
tony force-pushed the fix/84-concealed-cell-background branch from 526c38b to 4342a66 Compare December 5, 2026 13:22
@tony
tony changed the base branch from master to fix/77-parser-dispatch-recovery December 5, 2026 13:22
@tony
tony changed the base branch from fix/77-parser-dispatch-recovery to master December 5, 2026 13:27
@tony
tony merged commit 273f5b7 into master Dec 5, 2026
9 checks passed
@tony
tony deleted the fix/84-concealed-cell-background branch December 5, 2026 20:41

This branch was successfully deployed

1 active deployment
docs — 4342a668 Deployed Dec 5, 2026 by tony via build (3.14) #391
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.

Keep a concealed cell’s background visible in HTML exports

1 participant