/** * public/diff.ts — N-diff-ui: diff viewer (render-only). * * This module is RENDER-ONLY: it receives pre-parsed DiffResult/DiffFile/DiffLine * structures from the server (GET /projects/diff) and renders them as DOM elements. * Zero diff parsing lives here (parsing is in src/http/diff.ts, review #2). * * Security: SEC-H4 — ALL diff content is set via textContent / el(). Zero innerHTML * anywhere in this file.