MCPcopy Create free account
hub / github.com/chatmail/core / get_add_text

Method get_add_text

src/dehtml.rs:54–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

52 }
53
54 fn get_add_text(&self) -> AddText {
55 // Everything between `<div name="quoted">` and `<div name="quoted_content">` is
56 // metadata which we don't want.
57 if self.divs_since_quote_div > 0 && self.divs_since_quoted_content_div == 0
58 || self.divs_since_hp_legacy_display > 0
59 {
60 AddText::No
61 } else {
62 self.add_text
63 }
64 }
65}
66
67#[derive(Debug, Default, PartialEq, Clone, Copy)]

Callers 4

dehtml_text_cbFunction · 0.80
str_cbFunction · 0.80
dehtml_endtag_cbFunction · 0.80
dehtml_starttag_cbFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected