From 76ee13d3db2f2a63162848a48242655d4249a27e Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 26 Oct 2015 08:44:17 +0100 Subject: [PATCH] Bug 15059 - Line break in html attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In some templates, there is a line break inside href attribute. This generates an attribute with a lot of spaces %20. Test plan : - at intranet (same at OPAC) - perform a search on one word with a sort order (anything but relevance) - click on "Next" at the bottom of the page - look at link "Show more" in facets => Without patch the URL contains a lot of spaces => With patch the URL is correct - at intranet go to ciculation module - click on "Overdues with fines" - look at links "Phone", "Notice" and "Considered lost" => Without patch the URL contains a lot of spaces => With patch the URL is correct Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 3 +-- .../intranet-tmpl/prog/en/modules/circ/branchoverdues.tt | 9 +++------ koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc | 3 +-- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index 157366e..d7d2741 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -42,8 +42,7 @@ [% END %] [% IF ( facets_loo.expandable ) %]
  • - Show more + Show more
  • [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index dd2d7e6..ff3424d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -77,11 +77,9 @@ Mail [% END %]  |  - Phone + Phone  |  - Notice + Notice [% END %] [% IF ( overduesloo.overdue2 ) %] @@ -89,8 +87,7 @@ [% END %] [% IF ( overduesloo.overdue3 ) %] - Considered lost + Considered lost [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc index 958d571..48d996c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc @@ -51,8 +51,7 @@ [% END %] [% IF ( facets_loo.expandable ) %]
  • - Show more + Show more
  • [% END %] -- 1.7.10.4