Search api autocomplete showing html in search suggestions

Created on 14 February 2025, about 2 months ago

On searching with keywords like "com" ,"div" , " class" autocomplete suggestion shows some html code.

Type some keywords like "com" ,"div" , " class" in search box.

Not sure about the solution but, Autocomplete is getting rendered from file "modules/contrib/search_api_autocomplete/templates/search-api-autocomplete-suggestion.html.twig"

🐛 Bug report
Status

Active

Version

1.7

Component

User interface

Created by

🇮🇳India vikas@drupal.org

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vikas@drupal.org
  • 🇦🇹Austria drunken monkey Vienna, Austria

    Can you please provide more details?

    • Which backend are you using?
    • Do you have the “HTML filter” processor enabled for your search index?
    • Can you please include the JSON response received from the autocomplete endpoint? (Open the Developer Tools of your browser, go to the “Network” tab, then trigger the error and copy the response of the network request that appeared (to /search_api_autocomplete/{search}.)
    • Is this still a problem with the latest dev version of the module?
Production build 0.71.5 2024