Skip to main content

escape_link_label

Function escape_link_label 

Source
fn escape_link_label(s: &str) -> String
Expand description

Escape a string for use as a markdown link label.

Prevents MDX from treating user-controlled NatSpec label text as JSX or breaking the surrounding markdown link syntax.