Skip to main content

geo_attribution_html_comment

Function geo_attribution_html_comment 

Source
pub fn geo_attribution_html_comment(notices: &[&str]) -> Option<String>
Available on crate features cli and haproxy and http and net only.
Expand description

The attribution notices as a single well-formed HTML comment, or None when empty. Any -- is neutralised so a notice cannot close the comment early (ours contain none, but the input is not assumed trusted).