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