diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc
index 6dc1e66220..e2af2e9d55 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc
@@ -2,11 +2,11 @@
[% IF OpenOPACShelfBrowser %]
- [% IF ( starting_homebranch ) %]Browsing [% starting_homebranch | html %] Shelves[% END %]
- [% IF ( starting_homebranch && ( starting_location || starting_ccode ) ) %], [% END %]
- [% IF ( starting_location ) %]Shelving location: [% starting_location | html %][% END %]
- [% IF ( ( starting_homebranch || starting_location ) && starting_ccode ) %], [% END %]
- [% IF ( starting_ccode ) %]Collection code: [% starting_ccode | html %][% END %]
+ [%- IF ( starting_homebranch ) %]Browsing [% starting_homebranch | html %] shelves[% END -%]
+ [%- IF ( starting_homebranch && starting_location ) %], [% END %]
+ [%- IF ( starting_location ) %]Shelving location: [%- starting_location | html -%][% END -%]
+ [%- IF ( starting_homebranch && starting_ccode ) %], [% END %]
+ [%- IF ( starting_ccode ) %]Collection: [%- starting_ccode | html -%][% END -%]
Close shelf browser