Add support for literal string blocks.

This commit is contained in:
Tom Alexander
2020-05-23 23:41:05 -04:00
parent 533ea96d4f
commit b73561caf9
3 changed files with 8 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ impl<'a> DustRenderer<'a> {
}
.to_owned())
}
DustTag::DTLiteralStringBlock(literal) => return Ok((*literal).to_owned()),
DustTag::DTReference(reference) => {
let val = walk_path(breadcrumbs, &reference.path.keys);
match val {