Skip to content

Handle ElasticSearch character escaping

Erwan Rouchet requested to merge escape into master

Prevent HTML escaping of ' to " in ESQuerySet templates and add a character escaping function. See https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters

Not all cases are handled: searching for Brinkley\'s brings back a strange behavior (searches for Brinkley or s)

Merge request reports

Loading