diff --git a/src/Series/Base.php b/src/Series/Base.php index 18ca647..ef7f21d 100644 --- a/src/Series/Base.php +++ b/src/Series/Base.php @@ -76,10 +76,12 @@ public function __construct(ImmutableConfig $settings, EntityTypeManagerInterfac * {@inheritdoc} */ public function getDefault() : array { + // Get html title field and strip html tags. + $title = strip_tags($this->entity->html_title->value); return [ [ 'attribute' => 'Title', - 'value' => $this->entity->label(), + 'value' => $title, ], [ 'attribute' => 'Number',