git.cweiske.de
/
phinde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
escape html in search results
[phinde.git]
/
src
/
phinde
/
Elasticsearch.php
diff --git
a/src/phinde/Elasticsearch.php
b/src/phinde/Elasticsearch.php
index 735b64ff7ae6ad0a4fbe3e08d31f3fecab540ad1..5ad46e74030e9d8c2c27cc05083a547fe493837d 100644
(file)
--- a/
src/phinde/Elasticsearch.php
+++ b/
src/phinde/Elasticsearch.php
@@
-101,6
+101,7
@@
class Elasticsearch
'highlight' => array(
'pre_tags' => array('<em class="hl">'),
'order' => 'score',
+ 'encoder' => 'html',
'fields' => array(
'title' => array(
'require_field_match' => false,