We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1663871 commit a197d5fCopy full SHA for a197d5f
Sources/SwiftDocC/Utility/MarkupExtensions/ListItemExtractor.swift
@@ -1,7 +1,7 @@
1
/*
2
This source file is part of the Swift.org open source project
3
4
- Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
+ Copyright (c) 2021 Apple Inc. and the Swift project authors
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
7
See https://swift.org/LICENSE.txt for license information
@@ -152,7 +152,6 @@ extension ListItem {
152
if dropTag {
153
newText = String(text.string.dropFirst(text.string.count - trimmedText.count + tag.count).drop(while: { $0 == " " }))
154
}
155
-
156
return [Text(newText)] + Array(firstParagraph.inlineChildren.dropFirst(1))
157
158
0 commit comments