diff --git a/proxmox-section-config/src/lib.rs b/proxmox-section-config/src/lib.rs index 85ff81b8..154f56e0 100644 --- a/proxmox-section-config/src/lib.rs +++ b/proxmox-section-config/src/lib.rs @@ -899,11 +899,14 @@ pub fn dump_section_config(config: &SectionConfig) -> String { }; if plugin_count > 1 { + use std::fmt::Write as _; + let description = wrap_text("", "", properties.description(), 80); - res.push_str(&format!( + let _ = write!( + res, "\n**Section type** \'``{}``\': {}\n\n", name, description - )); + ); } res.push_str(&dump_properties(