1 parent
40c65eb774
commit
2884a55221
1 file changed
+3
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user