From 7c7755846118be181897943f05d5eed56a79832e Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 11 Jul 2024 07:04:07 +0200 Subject: [PATCH] Fix parsing with multi-lines quotes Prospective fix for issue #25 --- lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib.rs b/lib.rs index 22da391..e054bdd 100644 --- a/lib.rs +++ b/lib.rs @@ -428,7 +428,7 @@ fn get_balanced<'a>( } else { *result.to_mut() += line; } - if level == 0 { + if level == 0 && !in_quote { return Ok(result); } line = if let Some(l) = lines.next() { @@ -807,6 +807,11 @@ ixyz = [ "arrays" ] ] +replace = """ + +## [Unreleased] - ReleaseDate +""" + [dev-dependencies] ## dep1 dep1 = {