mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 00:46:31 +03:00
docs(dehtml): document AddText variants
This commit is contained in:
@@ -51,8 +51,13 @@ impl Dehtml {
|
|||||||
|
|
||||||
#[derive(Debug, PartialEq, Clone, Copy)]
|
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||||
enum AddText {
|
enum AddText {
|
||||||
|
/// Inside `<script>`, `<style>` and similar tags
|
||||||
|
/// which contents should not be displayed.
|
||||||
No,
|
No,
|
||||||
|
|
||||||
YesRemoveLineEnds,
|
YesRemoveLineEnds,
|
||||||
|
|
||||||
|
/// Inside `<pre>`.
|
||||||
YesPreserveLineEnds,
|
YesPreserveLineEnds,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user