diff --git a/inst/BS3/templates/head.html b/inst/BS3/templates/head.html
index 1a0c3d599..da8abad96 100644
--- a/inst/BS3/templates/head.html
+++ b/inst/BS3/templates/head.html
@@ -7,6 +7,7 @@
{{#has_favicons}}
+
{{/has_favicons}}
diff --git a/inst/BS5/templates/head.html b/inst/BS5/templates/head.html
index f1ddb76e2..0ab863af6 100644
--- a/inst/BS5/templates/head.html
+++ b/inst/BS5/templates/head.html
@@ -6,6 +6,7 @@
{{#has_favicons}}
+
{{/has_favicons}}