Skip to main content

fallback_text

Function fallback_text 

Source
pub fn fallback_text(
    w: &Withheld,
    title: &str,
    body: &str,
    run_id: &str,
) -> (String, String)
Expand description

What use fallback posts, as (title, description): neutral text for a field withheld for language, the redacted text for one withheld only for sensitive data. The one place that decides it, for both the question’s CHANGED version and the posting itself (which still runs prepare_with over it, a no-op on already redacted text). title / body are the original texts; a field that is not withheld comes back redacted too.