Skip to main content

SECURITY_SPANS

Constant SECURITY_SPANS 

Source
pub const SECURITY_SPANS: [(&[u8], &[u8]); 4];
Expand description

The four replaceable spans of a landed security policy, each as its ordered begin and end marker.

A span is not a token. Each forge’s policy carries its own authored prose inside the markers, so a landing that answers neither security parameter strips the markers and reproduces the file the forge’s snippet states, byte for byte and in that forge’s own words. A landing that answers one replaces the interior of the spans that fact belongs to. The markers are HTML comments because the snippet is Markdown a reader may open before it is ever rendered.

The scope span is empty in every snippet and closes the channel paragraph, so an unanswered scope strips to the authored bytes exactly and an answered one adds its own paragraph after the channel’s.