Skip to main content

render_brief

Function render_brief 

Source
pub fn render_brief(entries: &[BriefEntry], nonce: &str) -> String
Expand description

Render the fenced brief. Empty entries -> empty string (zero bytes -> no injection). Leads with low-free-text fields (date, tool, touched files); the title is the one free-text field, sanitized and capped. nonce makes the envelope unforgeable.