From c0dda27f2078de4c3adcf345383ba423c233fe9f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 20 Mar 2015 14:46:41 +0100 Subject: also decode html entities --- db/item.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db') diff --git a/db/item.php b/db/item.php index 8c555db86..23c68f2cd 100644 --- a/db/item.php +++ b/db/item.php @@ -200,9 +200,9 @@ class Item extends Entity implements IAPI, \JsonSerializable { public function generateSearchIndex() { $this->setSearchIndex( strtolower( - strip_tags($this->getBody()) . - $this->getAuthor() . - $this->getTitle() . + html_entity_decode(strip_tags($this->getBody())) . + html_entity_decode($this->getAuthor()) . + html_entity_decode($this->getTitle()) . $this->getUrl() ) ); -- cgit v1.2.3