Skip to content

Commit c281baa

Browse files
Refer to newline characters consistently in documentation (#232)
1 parent 5ad49ed commit c281baa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Markdown/Walker/Walkers/MarkupFormatter.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ fileprivate extension String {
4747
}
4848

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

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

0 commit comments

Comments
 (0)