Corrected as follow:
/**
* stripHtml : Remove HTML sensitive tags
*/
function stripHtml($text){
// prevent js XSS and remove HTML tags
return htmlspecialchars(strip_tags($text), ENT_QUOTES);
} AjaxSearch Demo site updated
Take care the docSwitcher snippet which swap the root of document with the choose of language (bottom of left menu) don’t work with a same page. But you can check that "éducation" works fine with french documents with landing demo for instance.
Issue registered as AJAXSEARCH-7. Will be corrected with AS 1.8.1
Katzenfutter thanks for your feedback