diff options
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 874be9d..3e87242 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -314,6 +314,10 @@ pub(crate) enum WhitespaceHandling { Preserve, /// It'll remove all the whitespace characters before and after the jinja block. Suppress, + /// It'll remove all the whitespace characters except one before and after the jinja blocks. + /// If there is a newline character, the preserved character in the trimmed characters, it will + /// the one preserved. + Minimize, } impl Default for WhitespaceHandling { |