Skip to main content

smarten

Function smarten 

Source
pub fn smarten(s: &str, carry: &mut Carry, opts: SmartenOptions) -> String
Expand description

Convert typewriter punctuation to typographic punctuation.

carry holds what the runs of the paragraph before s left (see Carry) and is updated for the next one.