diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
index d585701d22..7b9cd8b97e 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
@@ -25,7 +25,7 @@
[% total %]
[% offset %]
[% IF ( results_per_page ) %]
- [% results_per_page %]
+ [% results_per_page |html%]
[% ELSE %]
20
[% END %]