Add support for literal string blocks.
This commit is contained in:
@@ -63,6 +63,7 @@ fn extract_inline_partials_from_tag<'a, 'b>(
|
||||
match tag {
|
||||
DustTag::DTComment(..) => (),
|
||||
DustTag::DTSpecial(..) => (),
|
||||
DustTag::DTLiteralStringBlock(..) => (),
|
||||
DustTag::DTReference(..) => (),
|
||||
DustTag::DTSection(container) => {
|
||||
match &container.contents {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user