View | Details | Raw Unified | Return to bug 17038
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +1 lines)
Lines 152-158 $('#sort_by').change(function() { Link Here
152
    $(".selection").show();
152
    $(".selection").show();
153
    [% IF ( query_desc ) %]
153
    [% IF ( query_desc ) %]
154
    toHighlight = $("p,span.results_summary,a.title");
154
    toHighlight = $("p,span.results_summary,a.title");
155
        var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]";
155
        var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]";
156
        q_array = query_desc.split(" ");
156
        q_array = query_desc.split(" ");
157
        // ensure that we don't have "" at the end of the array, which can
157
        // ensure that we don't have "" at the end of the array, which can
158
        // break the highlighter
158
        // break the highlighter
159
- 

Return to bug 17038