Implement the new fields for radio target.
This commit is contained in:
@@ -134,7 +134,7 @@ pub(crate) fn radio_target<'b, 'g, 'r, 's>(
|
||||
))(remaining)?;
|
||||
|
||||
let (remaining, _closing) = tag(">>>")(remaining)?;
|
||||
let (remaining, _trailing_whitespace) =
|
||||
let (remaining, post_blank) =
|
||||
maybe_consume_object_trailing_whitespace_if_not_exiting(context, remaining)?;
|
||||
let source = get_consumed(input, remaining);
|
||||
Ok((
|
||||
@@ -142,6 +142,7 @@ pub(crate) fn radio_target<'b, 'g, 'r, 's>(
|
||||
RadioTarget {
|
||||
source: source.into(),
|
||||
value: raw_value.into(),
|
||||
post_blank: post_blank.map(Into::<&str>::into),
|
||||
children,
|
||||
},
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user