Apparently html2text is completely happy to render strikeout via
U+0336 COMBINING LONG STROKE OVERLAY, and needs no support from the
terminal escape-sequence system at all. So I don't need an artificial
indication that it happened.
/// Return an annotation and rendering prefix for strikeout
fn decorate_strikeout_start(&mut self) -> (String, Self::Annotation) {
- ("~".to_string(), ' ')
+ ("".to_string(), ' ')
}
/// Return a suffix for after a strikeout.
- fn decorate_strikeout_end(&mut self) -> String { "~".to_string() }
+ fn decorate_strikeout_end(&mut self) -> String { "".to_string() }
/// Return an annotation and rendering prefix for code
fn decorate_code_start(&mut self) -> (String, Self::Annotation) {