parent
1678e3cbf1
commit
13da468e22
1 changed files with 3 additions and 1 deletions
|
@ -1546,7 +1546,9 @@ fn surrounding_markers(
|
|||
}
|
||||
// Adjust closing.start to exclude whitespace after a newline, if present
|
||||
if let Some(end) = last_newline_end {
|
||||
closing.start = end;
|
||||
if end > opening.end {
|
||||
closing.start = end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue