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 131c811 commit c37c596Copy full SHA for c37c596
Sources/SourceKitLSP/Swift/DoccDocumentation.swift
@@ -122,7 +122,7 @@ fileprivate struct DocumentableSymbol {
122
case .docBlockComment(let comment):
123
return comment.dropFirst(3)
124
.dropLast(2)
125
- .split(separator: "\n")
+ .split(whereSeparator: \.isNewline)
126
.map { String($0).trimmingCharacters(in: .whitespaces) }
127
default:
128
return []
0 commit comments