Skip to main content

strdup_and_subst_obj

Function strdup_and_subst_obj 

Source
pub fn strdup_and_subst_obj(s: &str, ctx: &LabelSubstContext<'_>) -> String
Expand description

strdup_and_subst_obj from lib/common/labels.c: object escapes plus \\ -> \ (used for URL, tooltip, id, … attributes).