diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-10 03:59:34 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-10 03:59:34 +0200 |
| commit | fd98a2d3053279bd4a848faa52a3ac676db10cbb (patch) | |
| tree | 8a2aa2a16380d779fe0f8a51dcab917edff636b8 /test/controllers | |
| parent | d18e0fa70de9b5029ebed93a1760aea46e8abf19 (diff) | |
Stop diff output from corrupting the document on structural tag changes
sdiff aligned an inserted paragraph break correctly, but the renderer
wrapped the raw </p>/<p> tokens in <ins> regardless -- invalid nesting
that browsers silently repair by dropping the unmatched closing tag,
leaving everything downstream rendered inside an <ins> with nothing
left to close it. Same failure mode as the retired cacycle_diff.js,
different cause.
Tag tokens now render as a plain-text pilcrow with a tooltip naming
the actual tag, never as literal markup inside <ins>/<del>. Applies to
both inline and side-by-side. Side-by-side's new panel flattening a
real paragraph break into a marker, rather than showing its own true
structure, is a known, accepted trade-off for now -- not the same
problem, and not fixed here.
Diffstat (limited to 'test/controllers')
0 files changed, 0 insertions, 0 deletions
