git.cweiske.de
/
phinde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f156497
)
escape html in search results
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 4 Feb 2016 15:58:33 +0000
(16:58 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 4 Feb 2016 15:58:33 +0000
(16:58 +0100)
src/phinde/Elasticsearch.php
patch
|
blob
|
history
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,