html: Open extra newline between opening and closing HTML tags (#25130)
Closes #12064 It feels a bit strange to use `brackets` for this but it seems to work without unintended consequences from my testing so far. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
parent
528da6eb26
commit
1429363218
7 changed files with 199 additions and 62 deletions
|
@ -3401,7 +3401,10 @@ fn assert_bracket_pairs(
|
|||
.collect::<Vec<_>>();
|
||||
|
||||
assert_set_eq!(
|
||||
buffer.bracket_ranges(selection_range).collect::<Vec<_>>(),
|
||||
buffer
|
||||
.bracket_ranges(selection_range)
|
||||
.map(|pair| (pair.open_range, pair.close_range))
|
||||
.collect::<Vec<_>>(),
|
||||
bracket_pairs
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue