From bbf2f96e28b359953de14903e128ea2035936190 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 14 Jun 2026 15:16:51 +0200 Subject: [PATCH] docs(timeline): reword TagChip comment to clear the raw-HTML grep gate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The doc comment described escaping by naming the raw-HTML directive literally, which trips the lib/timeline grep gate that forbids that token. Reword it the way LetterCard already does โ€” behavior unchanged. Refs #835 Co-Authored-By: Claude Opus 4.8 --- frontend/src/lib/timeline/TagChip.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/timeline/TagChip.svelte b/frontend/src/lib/timeline/TagChip.svelte index 94546da0..914c964d 100644 --- a/frontend/src/lib/timeline/TagChip.svelte +++ b/frontend/src/lib/timeline/TagChip.svelte @@ -5,9 +5,9 @@ import * as m from '$lib/paraglide/messages.js'; * A single root-tag chip on a timeline letter card (ยง3 of the Zeitstrahl spec): a * decorative colored square marker plus the tag name, prefixed for screen readers by * an sr-only theme label so color is never the only cue (WCAG 1.4.1, REQ-011). The - * name is curator/import-derived and rendered via default `{...}` escaping โ€” never - * `{@html}` (REQ-010). `color` is a `--c-tag-*` token or null; a null color renders a - * neutral marker with no `var(--c-tag-)` reference (REQ-007). Truncation is set inline + * name is curator/import-derived and rendered via default `{...}` escaping โ€” never the + * raw-HTML directive (REQ-010). `color` is a `--c-tag-*` token or null; a null color + * renders a neutral marker with no `var(--c-tag-)` reference (REQ-007). Truncation is set inline * (not via a utility class) so a long name ellipsizes even before the stylesheet loads, * keeping the card free of horizontal overflow at 320px (REQ-008a). */