aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_derive/src/parser.rs')
-rw-r--r--askama_derive/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs
index a37a112..b8fa94d 100644
--- a/askama_derive/src/parser.rs
+++ b/askama_derive/src/parser.rs
@@ -117,7 +117,7 @@ fn split_ws_parts(s: &[u8]) -> Node {
(&s[..start], &s[start..], &s[0..0])
} else {
let end = end.unwrap();
- (&s[..start], &s[start..end + 1], &s[end + 1..])
+ (&s[..start], &s[start..=end], &s[end + 1..])
}
};
Node::Lit(