Index: branches/5.2.x/core/units/categories/categories_event_handler.php =================================================================== diff -u -N -r15268 -r15314 --- branches/5.2.x/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 15268) +++ branches/5.2.x/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 15314) @@ -1,6 +1,6 @@ status = kEvent::erSTOP; - $string = kUtil::unhtmlentities($this->Application->GetVar('preview_content')); + $string = htmlspecialchars_decode($this->Application->GetVar('preview_content')); $category_helper = $this->Application->recallObject('CategoryHelper'); /* @var $category_helper CategoryHelper */ @@ -2286,7 +2286,7 @@ $event->redirect = false; $search_table = TABLE_PREFIX.'ses_'.$this->Application->GetSID().'_'.TABLE_PREFIX.'Search'; - $keywords = kUtil::unhtmlentities( trim($this->Application->GetVar('keywords')) ); + $keywords = htmlspecialchars_decode( trim($this->Application->GetVar('keywords')) ); $query_object = $this->Application->recallObject('HTTPQuery'); /* @var $query_object kHTTPQuery */