mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
Merge "search: Fix unclickable search footer"
This commit is contained in:
commit
ce0002916c
|
@ -40,7 +40,14 @@
|
||||||
</template>
|
</template>
|
||||||
<!-- eslint-disable-next-line vue/no-template-shadow -->
|
<!-- eslint-disable-next-line vue/no-template-shadow -->
|
||||||
<template #search-footer-text="{ searchQuery }">
|
<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>
|
</template>
|
||||||
</cdx-typeahead-search>
|
</cdx-typeahead-search>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue