Skip to content

Commit

Permalink
Fix doc build error
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 10, 2024
1 parent 392fb1a commit 32332b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/referencestore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ end
This function applies the templates stored in `store` to the source string, and returns the resolved string.
It uses Mustache.jl under the hood, but all `{{template}}` values are set to **not** URI-encode characters.
It uses Mustache.jl under the hood, but all `{` `{` `template` `}` `}` values are set to **not** URI-encode characters.
"""
function apply_templates(store::ReferenceStore, source::String)
tokens = Mustache.parse(source)
# Adjust tokens so that `{{var}}` becomes `{{{var}}}`, the latter of which
# Adjust tokens so that `{` `{` var `}` `}` becomes `{` `{` `{` var `}` `}` `}`, the latter of which
# is rendered without URI escaping.
for token in tokens.tokens
if token._type == "name"
Expand Down

0 comments on commit 32332b0

Please sign in to comment.