From 6c23ef54a32bbdfcc04e59b96ae9936240c46e41 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Dec 2014 08:36:04 -0500 Subject: [PATCH] Bug 13375: Syspref search highlight styling broken in Chrome This patch encloses the the syspref description/values mix in a
. It doesn't introduce any regression on other browsers (like Firefox) and has the side effect to make Chrome render the highlighted words on syspref searches well. This alternate patch uses a
instead of a because it will sometimes contain block-level elements. Follow the same plan: To test: - Search for 'facet' on the sysprefs => FAIL: verify it has styling problems in Chrome - Apply the patch, reload => SUCCESS: styling is correct Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt index dde47642bf..23befab536 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -110,7 +110,7 @@ [% END %] - +
[% FOREACH CHUNK IN LINE.CHUNKS %] [% IF ( CHUNK.type_text ) %] [% CHUNK.contents %] @@ -166,7 +166,7 @@ [% END %] [% END %] - +
[% IF ( loop.last ) %][% END %] [% END %] -- 2.39.5