Lines 1-4
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
|
|
2 |
[% USE To %] |
2 |
[% USE Asset %] |
3 |
[% USE Asset %] |
3 |
[% USE Koha %] |
4 |
[% USE Koha %] |
4 |
[% USE Biblio %] |
5 |
[% USE Biblio %] |
Lines 772-778
Link Here
|
772 |
|
773 |
|
773 |
[% IF ( query_desc ) %] |
774 |
[% IF ( query_desc ) %] |
774 |
toHighlight = $("p,span.results_summary,a.title"); |
775 |
toHighlight = $("p,span.results_summary,a.title"); |
775 |
var query_desc = "[% query_desc |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; |
776 |
var query_desc = "[% To.json( query_desc ) | $raw %]"; |
776 |
q_array = query_desc.split(" "); |
777 |
q_array = query_desc.split(" "); |
777 |
// ensure that we don't have "" at the end of the array, which can |
778 |
// ensure that we don't have "" at the end of the array, which can |
778 |
// break the highlighter |
779 |
// break the highlighter |
779 |
- |
|
|