Skip to content

Commit 741c054

Browse files
Merge pull request #3524 from SwiftPackageIndex/fix-warning
Fix warning
2 parents b23d678 + bb073fd commit 741c054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/App/Views/MarkdownPage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class MarkdownPage: PublicPage {
3232
.appending("Resources/Markdown/")
3333
.appending(markdownFilename)
3434

35-
let markdown = try? String(contentsOfFile: pathToMarkdownFile)
35+
let markdown = try? String(contentsOfFile: pathToMarkdownFile, encoding: .utf8)
3636
let result = markdown.map(MarkdownParser().parse)
3737
metadata = result?.metadata ?? [:]
3838
html = result?.html

0 commit comments

Comments
 (0)