Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/Markdown/Walker/Walkers/MarkupFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ fileprivate extension String {
}

fileprivate extension CodeBlock {
/// The code contents split by newline (`\n`), dropping leading and trailing lines that are empty.
/// The code contents split by newline characters, dropping leading and trailing lines that are empty.
var trimmedLineSegments: ArraySlice<Substring> {
return code.trimmedLineSegments
}
}

fileprivate extension HTMLBlock {
/// The HTML contents split by newline (`\n`), dropping leading and trailing lines that are empty.
/// The HTML contents split by newline characters, dropping leading and trailing lines that are empty.
var trimmedLineSegments: ArraySlice<Substring> {
return rawHTML.trimmedLineSegments
}
Expand Down