Skip to main content

strip_backlog_patch_attr

Function strip_backlog_patch_attr 

Source
pub fn strip_backlog_patch_attr(doc: &str) -> String
Expand description

Strip deprecated patch=... (and legacy mode=...) attributes from backlog/pending component opening tags. The backlog component’s patch mode is always replace by built-in default; the inline attribute is redundant since the binary owns all backlog mutations via --pending-* flags.

Emits a deprecation warning to stderr for each stripped attribute.