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.
2 parents b23d678 + bb073fd commit 741c054Copy full SHA for 741c054
Sources/App/Views/MarkdownPage.swift
@@ -32,7 +32,7 @@ class MarkdownPage: PublicPage {
32
.appending("Resources/Markdown/")
33
.appending(markdownFilename)
34
35
- let markdown = try? String(contentsOfFile: pathToMarkdownFile)
+ let markdown = try? String(contentsOfFile: pathToMarkdownFile, encoding: .utf8)
36
let result = markdown.map(MarkdownParser().parse)
37
metadata = result?.metadata ?? [:]
38
html = result?.html
0 commit comments