Bug 31069: fix <span> in OPAC search suggestions (Did you mean)

== test plan ==
1. Enable "Did you mean?":
   . go to Administration > Additional parameters > Did you mean?
   . put a tick in each plugin and save the configuration
2. In the OPAC, search for 'open source'
3. Without the patch you see escaped <span> after "Did you mean:"

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 1672d0c1c0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Victor Grousset/tuxayo 2022-07-09 05:39:39 +02:00 committed by Lucas Gass
parent 63bd50e721
commit e90ddc67cf
1 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
[% PROCESS 'i18n.inc' %]
[%- SWITCH index -%]
[%- CASE 'su-na' -%]
<span>Search also for narrower subjects</span>
[% t('Search also for narrower subjects') | html %]
[%- CASE 'su-br' -%]
<span>Search also for broader subjects</span>
[% t('Search also for broader subjects') | html %]
[%- CASE 'su-rl' -%]
<span>Search also for related subjects</span>
[% t('Search also for related subjects') | html %]
[%- END -%]