change es highlight tag

dev_forum
p31729568 6 years ago
parent 155152acb1
commit 526a6d4702

@ -20,7 +20,7 @@ module ElasticsearchAble
def highlight_options
{
fragment_size: EduSetting.get('es_highlight_fragment_size') || 30,
tag: '<span>'
tag: '<span class="highlight">'
}
end

Loading…
Cancel
Save