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
commit 575d15fd7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ struct ArticleRenderer {
private extension ArticleRenderer { private extension ArticleRenderer {
private var articleHTML: String { 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) return renderHTML(withBody: body)
} }

@ -1 +1 @@
Subproject commit a23d10cbd7adce19841300ad9e5d57c54ea150f6 Subproject commit 33cfcc08efebc7322da95ac40ab96db5020eecc6