From b466de8f17d9eba0cdf88be109540fbbf757e5b4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Dec 2014 08:36:04 -0500 Subject: [PATCH] [PASSED QA] 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 --- .../prog/en/modules/admin/preferences.tt | 4 ++-- 1 files 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 dde4764..23befab 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 %] -- 1.7.2.5