mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
Doc comments are show in HTML documentation.
This is not a proper documentation, just a note on implementation.
This commit is contained in:
@@ -20,8 +20,8 @@ enum AddText {
|
|||||||
YesPreserveLineEnds,
|
YesPreserveLineEnds,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// dehtml() returns way too many newlines; however, an optimisation on this issue is not needed as
|
// dehtml() returns way too many newlines; however, an optimisation on this issue is not needed as
|
||||||
/// the newlines are typically removed in further processing by the caller
|
// the newlines are typically removed in further processing by the caller
|
||||||
pub fn dehtml(buf: &str) -> Option<String> {
|
pub fn dehtml(buf: &str) -> Option<String> {
|
||||||
let s = dehtml_quick_xml(buf);
|
let s = dehtml_quick_xml(buf);
|
||||||
if !s.trim().is_empty() {
|
if !s.trim().is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user