diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-20 14:46:41 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-21 13:36:50 +0100 |
commit | c0dda27f2078de4c3adcf345383ba423c233fe9f (patch) | |
tree | 4592a28928027d32f4c90bcfd9b10efe3706fe62 /db | |
parent | 953b030e2678ce45d2f182c181ef2190f39d161d (diff) |
also decode html entities
Diffstat (limited to 'db')
-rw-r--r-- | db/item.php | 6 |
1 files changed, 3 insertions, 3 deletions
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() ) ); |