Skip to content

Commit a197d5f

Browse files
committed
remove whitespace
1 parent 1663871 commit a197d5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftDocC/Utility/MarkupExtensions/ListItemExtractor.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
This source file is part of the Swift.org open source project
33

4-
Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
4+
Copyright (c) 2021 Apple Inc. and the Swift project authors
55
Licensed under Apache License v2.0 with Runtime Library Exception
66

77
See https://swift.org/LICENSE.txt for license information
@@ -152,7 +152,6 @@ extension ListItem {
152152
if dropTag {
153153
newText = String(text.string.dropFirst(text.string.count - trimmedText.count + tag.count).drop(while: { $0 == " " }))
154154
}
155-
156155
return [Text(newText)] + Array(firstParagraph.inlineChildren.dropFirst(1))
157156
}
158157

0 commit comments

Comments
 (0)