Skip to content

Commit

Permalink
Duplicate the content in the description
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebril committed Mar 9, 2021
1 parent 0f2a2c8 commit 828717d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FeedIo/Feed/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public function getContent(): ?string
public function setContent(string $content = null): ItemInterface
{
$this->content = $content;
// Will be removed in 5.0
$this->setDescription($content);

return $this;
}
Expand Down

0 comments on commit 828717d

Please sign in to comment.