mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Merge "search: Fix unclickable search footer"
This commit is contained in:
commit
ce0002916c
|
@ -40,7 +40,14 @@
|
|||
</template>
|
||||
<!-- eslint-disable-next-line vue/no-template-shadow -->
|
||||
<template #search-footer-text="{ searchQuery }">
|
||||
<span v-i18n-html:vector-searchsuggest-containing="[ searchQuery ]"></span>
|
||||
<!--
|
||||
Normally we'd use v-i18n-html here, like this:
|
||||
<span v-i18n-html:vector-searchsuggest-containing="[ searchQuery ]"></span>
|
||||
but that causes strange rerendering issues and makes the <strong> tag rendered
|
||||
by the message unclickable, see T327229.
|
||||
-->
|
||||
<!-- eslint-disable-next-line max-len, vue/no-v-html -->
|
||||
<span v-html="$i18n( 'vector-searchsuggest-containing' ).params( [ searchQuery ] ).parse()"></span>
|
||||
</template>
|
||||
</cdx-typeahead-search>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue