Implement the new fields for fixed width area.

This commit is contained in:
Tom Alexander
2023-12-15 12:29:46 -05:00
parent f192507cd9
commit 3962db12a8
3 changed files with 10 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ where
let (remaining, mut remaining_lines) =
many0(preceded(not(exit_matcher), fixed_width_area_line_matcher))(remaining)?;
let (remaining, _trailing_ws) =
let (remaining, post_blank) =
maybe_consume_trailing_whitespace_if_not_exiting(context, remaining)?;
let source = get_consumed(input, remaining);
let mut value = Vec::with_capacity(remaining_lines.len() + 1);
@@ -66,6 +66,7 @@ where
affiliated_keywords,
),
value,
post_blank: post_blank.map(Into::<&str>::into),
},
))
}