Skip to content

Commit bb073fd

Browse files
committed
Fix warning
1 parent b23d678 commit bb073fd

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)