Skip to content

Commit

Permalink
Align whitespace rule for "parse enriched" vs. "skip enriched" cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Jan 28, 2025
1 parent 659850a commit a75966d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl Parser {

let (input, mut kv) = if !self.enriched {
terminated(
separated_list0(tag(b" "), |input| self.parse_kv(input, ty)),
separated_list0(take_while1(|c| c == b' '), |input| self.parse_kv(input, ty)),
alt((
value((), tuple((tag("\x1d"), is_not("\n"), tag("\n")))),
value((), tag("\n")),
Expand Down

0 comments on commit a75966d

Please sign in to comment.