pub fn markdown_inline_text(input: &str) -> StringExpand description
Encode untrusted text for an inline Markdown context, including headings.
The returned text renders as the original plain text while Markdown and HTML parsers see only inert character references. Line breaks are folded to spaces so the value cannot open a new block-level construct.