Merge pull request #1556 from Wevah/macroprocessor

Use new MacroProcessor replacement
This commit is contained in:
Brent Simmons authored and GitHub committed 2020-01-07 14:09:51 -08:00
commit 575d15fd7c
2 files changed
+2 -2

No files matched your search

@@ -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)
}