search: Prevent double-escaping of messages passed to typeahead-search
The parameters passed to the typeahead-search Vue component don't need to be escaped, they're already escaped by the Vue implementation. Use .text() instead of .escaped() for the i18n messages passed to this component, to prevent them from being escaped twice. Change-Id: I5dcf442f6af181a99123bf7426743af01b097729
This commit is contained in:
parent
897769a04d
commit
402b01e0ca
|
@ -4,14 +4,14 @@
|
|||
ref="searchForm"
|
||||
:client="getClient"
|
||||
:domain="domain"
|
||||
:footer-search-text="$i18n('searchsuggest-containing').escaped()"
|
||||
:suggestions-label="$i18n('searchresults').escaped()"
|
||||
:footer-search-text="$i18n('searchsuggest-containing').text()"
|
||||
:suggestions-label="$i18n('searchresults').text()"
|
||||
:accesskey="searchAccessKey"
|
||||
:title="searchTitle"
|
||||
:placeholder="searchPlaceholder"
|
||||
:aria-label="searchPlaceholder"
|
||||
:initial-input-value="searchQuery"
|
||||
:button-label="$i18n( 'search' ).escaped()"
|
||||
:button-label="$i18n( 'search' ).text()"
|
||||
:form-action="action"
|
||||
:search-language="language"
|
||||
:show-thumbnail="showThumbnail"
|
||||
|
|
Loading…
Reference in New Issue