cc90b4a3
fix(web): a code fence whose language changed says so (spec-by6.4)
prosediff hashes a block's Info, so ```go becoming ```python pairs the two fences as a modification — but Block.Lines holds a fence's contents without its delimiters, so the line script came out entirely equal and every row rendered as context. The page said the document changed and then showed nothing that had, which is worse than either saying nothing or showing the change: the reviewer looks for an edit that appears not to exist. The fence's opening delimiter is not a row of this table and inventing a line number for it would be a guess, so the change is stated as a marker row above the fence's lines, in the same shape a move already uses. Only a code fence is covered — Info also carries a list item's marker and a table's column count, and neither is a language a reviewer would want announced.
Eugene Blikh <bigbes@gmail.com> — 2026-08-05 01:23:25 UTC
Commit cc90b4a3bd9fad3864033fc59ea2e440b4288c44 —
view raw patch
Parent(s):
d1621dca
| File | Status | + | − |
|---|---|---|---|
.beads/interactions.jsonl
|
M | +2 | |
.beads/issues.jsonl
|
M | +2 | -2 |
web/diffrows.go
|
M | +38 | -1 |
web/diffrows_test.go
|
M | +42 |