Skip to content

Commit

Permalink
IBX-8018: Fixed trailing whitespace in spellcheck (#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
reithor authored Apr 10, 2024
1 parent 0cd1d38 commit b805ec0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

{% if spellcheck is not null and spellcheck.incorrect %}
<div class="ibexa-search-form__spellcheck-suggestion">
{% set suggestion_link %}
{%- set suggestion_link -%}
<a href="{{ path('ibexa.search', app.request.query|merge({'search[query]': spellcheck.query})) }}">
{{ spellcheck.query }}
{{- spellcheck.query|spaceless -}}
</a>
{% endset %}
{%- endset -%}

{{ 'search.spellcheck.suggestion'|trans|desc('Did you mean %s?')|e('html')|format(suggestion_link)|raw }}
</div>
Expand Down

0 comments on commit b805ec0

Please sign in to comment.