{{/* The visual identity of a specification as inline SVG markup. Uses the bundle's icon.svg when present, otherwise a sigil generated from the slug so every specification has a stable, distinct mark. Inline style attributes are rewritten to presentation attributes so a strict Content-Security-Policy never has to allow inline styles. */}} {{ $svg := "" }} {{ with .Resources.Get "icon.svg" }} {{ $svg = .Content }} {{ $svg = replaceRE `(?s)<\?xml.*?\?>` "" $svg }} {{ $svg = replaceRE `(?s)` "" $svg }} {{ $svg = replaceRE `(?s)