From afcaaa56f046f473d2dc4e499595d12384c2932d Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 12 Jul 2024 08:49:55 +0200 Subject: [PATCH] Revert "Fix parsing with multi-lines quotes" This reverts commit 7c7755846118be181897943f05d5eed56a79832e. 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) --- lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib.rs b/lib.rs index 469806c..cd12f1b 100644 --- a/lib.rs +++ b/lib.rs @@ -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() { @@ -912,11 +912,6 @@ ixyz = [ "arrays" ] ] -replace = """ - -## [Unreleased] - ReleaseDate -""" - [dev-dependencies] ## dep1 dep1 = {