rnewson opened a new issue #2520: highlight_post_tag parameter of search query do not replace the default </em> post string URL: https://github.com/apache/couchdb/issues/2520 imported from https://github.com/cloudant-labs/dreyfus/issues/51 At the endpoint POST /{db}/_design/{ddoc}/_search/{index} and POST /{db}/_partition/{partition_key}/_design/{ddoc}/_search/{index}, query parameter highlight_post_tag do not replace the default highlight closing string. Here is an example for the request body: { "query": "name:J*", "highlight_fields": ["name"], "highlight_pre_tag": "<br>", "highlight_post_tag": "</br>" } And the answer is : "highlights": { "name": [ "<br>John</em>" ] } As you can see the closing sign </em> is not replaced with </br> .
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services