From: Christian Weiske Date: Thu, 4 Feb 2016 15:58:33 +0000 (+0100) Subject: escape html in search results X-Git-Tag: v0.1.0~21 X-Git-Url: https://git.cweiske.de/phinde.git/commitdiff_plain/ae2d3a27072b157a9c3df2ba1e8101d6d3a70d4f escape html in search results --- diff --git a/src/phinde/Elasticsearch.php b/src/phinde/Elasticsearch.php index 735b64f..5ad46e7 100644 --- a/src/phinde/Elasticsearch.php +++ b/src/phinde/Elasticsearch.php @@ -101,6 +101,7 @@ class Elasticsearch 'highlight' => array( 'pre_tags' => array(''), 'order' => 'score', + 'encoder' => 'html', 'fields' => array( 'title' => array( 'require_field_match' => false,