Skip to main content

render_capture_html

Function render_capture_html 

Source
pub fn render_capture_html(entries: &[CaseCapture]) -> String
Expand description

Render the full HTML viewer for a slice of captured probes. Bodies are kept verbatim (already truncated upstream to CAPTURE_BODY_CAP_BYTES); the HTML escapes everything before inserting into the DOM so payload content cannot break out of the rendering.