diff options
Diffstat (limited to 'src/formatter/model.rs')
-rw-r--r-- | src/formatter/model.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/formatter/model.rs b/src/formatter/model.rs index 291bf80be..2db307750 100644 --- a/src/formatter/model.rs +++ b/src/formatter/model.rs @@ -91,6 +91,7 @@ impl<'a> StyleVariableHolder<Cow<'a, str>> for Vec<FormatElement<'a>> { self.iter().fold(BTreeSet::new(), |mut acc, el| match el { FormatElement::TextGroup(textgroup) => { acc.extend(textgroup.style.get_style_variables()); + acc.extend(textgroup.format.get_style_variables()); acc } FormatElement::Conditional(format) => { |