Factoids: expand_factoid_vars() now respects factoid `interpolate` metadata

This commit is contained in:
Pragmatic Software 2021-05-25 13:28:08 -07:00
parent 84d9399ceb
commit 520cce7ea8
1 changed files with 2 additions and 0 deletions

View File

@ -745,6 +745,8 @@ sub expand_factoid_vars {
$action = defined $action ? $action : $context->{action};
return $action if $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate') eq '0';
$action = $self->expand_factoid_selectors($context, $action, %opts);
my $depth = 0;