LP#1791791: prevent regression on bug 1923225
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 30 Mar 2023 18:06:35 +0000 (14:06 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 26 Apr 2023 19:57:12 +0000 (19:57 +0000)
Ensures that when doing an ISBN search, the ISBN on the record
page is properly highlighted.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>

Open-ILS/src/templates/opac/parts/record/summary.tt2

index 452f987..a679e20 100644 (file)
@@ -336,7 +336,7 @@ END;
     [%- IF attrs.hl.isbn.size; FOR isbn IN attrs.hl.isbn %]
     <li class='rdetail_isbns'>
         <strong class='rdetail_label'>[% l('ISBN:'); %]</strong> 
-        <span class='rdetail_value' property='isbn'>[% isbn | html  %]</span>
+        <span class='rdetail_value' property='isbn'>[% isbn %]</span>
     </li>
     [%- END; ELSIF attrs.isbns.0;
           FOR isbn IN attrs.isbns;