Skip to content

Commit

Permalink
Revert "Fix parsing with multi-lines quotes"
Browse files Browse the repository at this point in the history
This reverts commit 7c77558.

This was not fixing the actual bug since the misparsing was in the wrong file anyway
(Cargo.toml vs Cargo.toml.origin), and it caused regression (#26)
  • Loading branch information
ogoffart committed Jul 12, 2024
1 parent f340579 commit afcaaa5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ fn get_balanced<'a>(
} else {
*result.to_mut() += line;
}
if level == 0 && !in_quote {
if level == 0 {
return Ok(result);
}
line = if let Some(l) = lines.next() {
Expand Down Expand Up @@ -912,11 +912,6 @@ ixyz = [
"arrays"
]
]
replace = """
<!-- next-header -->
## [Unreleased] - ReleaseDate
"""
[dev-dependencies]
## dep1
dep1 = {
Expand Down

0 comments on commit afcaaa5

Please sign in to comment.