Merge pull request #1556 from Wevah/macroprocessor

Use new MacroProcessor replacement
This commit is contained in:
Brent Simmons
2020-01-07 14:09:51 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ struct ArticleRenderer {
private extension ArticleRenderer {
private var articleHTML: String {
let body = RSMacroProcessor.renderedText(withTemplate: template(), substitutions: articleSubstitutions(), macroStart: "[[", macroEnd: "]]")
let body = try! MacroProcessor.renderedText(withTemplate: template(), substitutions: articleSubstitutions())
return renderHTML(withBody: body)
}