Skip to content

Commit afcaaa5

Browse files
committed
Revert "Fix parsing with multi-lines quotes"
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)
1 parent f340579 commit afcaaa5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ fn get_balanced<'a>(
531531
} else {
532532
*result.to_mut() += line;
533533
}
534-
if level == 0 && !in_quote {
534+
if level == 0 {
535535
return Ok(result);
536536
}
537537
line = if let Some(l) = lines.next() {
@@ -912,11 +912,6 @@ ixyz = [
912912
"arrays"
913913
]
914914
]
915-
replace = """
916-
<!-- next-header -->
917-
## [Unreleased] - ReleaseDate
918-
"""
919-
920915
[dev-dependencies]
921916
## dep1
922917
dep1 = {

0 commit comments

Comments
 (0)