Skip to content

Commit

Permalink
Fixed bug with shortcodes not being processed in meta summaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Aug 31, 2018
1 parent 5d9bd75 commit 090f586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/Model/MetaDataExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ public function getMetaSummary()
$summary = sprintf('<p>%s</p>', $this->owner->getContentSummary($content));
}

return DBField::create_field('HTMLFragment', $summary);
return DBField::create_field('HTMLFragment', $summary)->setProcessShortcodes(true);
}

/**
Expand Down

0 comments on commit 090f586

Please sign in to comment.