Implement the new fields for horizontal rule.

This commit is contained in:
Tom Alexander
2023-12-15 12:50:01 -05:00
parent 60d1ecfa75
commit 2181993246
2 changed files with 9 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ where
space0,
alt((line_ending, eof)),
)))(remaining)?;
let (remaining, _trailing_ws) =
let (remaining, post_blank) =
maybe_consume_trailing_whitespace_if_not_exiting(context, remaining)?;
let source = get_consumed(input, remaining);
Ok((
@@ -49,6 +49,7 @@ where
context.get_global_settings(),
affiliated_keywords,
),
post_blank: post_blank.map(Into::<&str>::into),
},
))
}