We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    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
      • 15469
      • 64 Posts
      Cheers mate smiley
        $cd /pub
        $more beer