Skip to main content

escape_message

Function escape_message 

Source
pub fn escape_message(text: &str) -> String
Expand description

Escape a workflow-command message body: % to %25, CR to %0D, LF to %0A. The % escape runs first so already-escaped input escapes again (matching the jq esc helper’s gsub order).