Skip to content

Commit 7c77558

Browse files
committed
Fix parsing with multi-lines quotes
Prospective fix for issue #25
1 parent 8d89242 commit 7c77558

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ fn get_balanced<'a>(
428428
} else {
429429
*result.to_mut() += line;
430430
}
431-
if level == 0 {
431+
if level == 0 && !in_quote {
432432
return Ok(result);
433433
}
434434
line = if let Some(l) = lines.next() {
@@ -807,6 +807,11 @@ ixyz = [
807807
"arrays"
808808
]
809809
]
810+
replace = """
811+
<!-- next-header -->
812+
## [Unreleased] - ReleaseDate
813+
"""
814+
810815
[dev-dependencies]
811816
## dep1
812817
dep1 = {

0 commit comments

Comments
 (0)