Artifact e946a1be95579c4f358d6307b9a0e8125230892707a096ee3e1d3e169b5c93f6:
- File
internal/web/syncurl_test.go
-
2026-08-27 10:52:44
— part of check-in
[058a2216c9]
on branch url-sync-helper
— One definition of swap-the-body-and-fix-the-URL
The diff toggle carried the replaceState handler as literal text in two attributes, with the reasoning in a comment above them. Both move onto a syncurl helper, so the next surface that needs it gets the try/catch and the replaceState-not-pushState choice for free instead of by copy-paste. Emitted markup is unchanged.
The helper neutralizes quotes in the fragment URL: it lands inside a JS string inside an attribute built as HTMLAttr, where escaping is off. (user: dmestas, size: 1826) [annotate] [blame] [check-ins using]
- 2026-08-27 11:41:37 — part of check-in [e7d457d6d5] on branch trunk — Green against merged trunk: vet, build and the full suite. Emitted markup unchanged, so the diff toggle behaves exactly as before. (user: dmestas, size: 1826) [annotate] [blame] [check-ins using]
-
2026-08-27 10:52:44
— part of check-in
[058a2216c9]
on branch url-sync-helper
— One definition of swap-the-body-and-fix-the-URL