diff --git a/inc/Ui/SearchState.php b/inc/Ui/SearchState.php
index f45156d282e18594d9be8fdc4aa8ec801c1b389f..eb3f7faebbc67ad394b1af9a5c4bb7e08455b2df 100644
--- a/inc/Ui/SearchState.php
+++ b/inc/Ui/SearchState.php
@@ -136,6 +136,6 @@ class SearchState
         }
 
         $href = wl($ID, $hrefAttributes, false, '&');
-        return "<a href='$href' " . buildAttributes($tagAttributes) . ">$label</a>";
+        return "<a href='$href' " . buildAttributes($tagAttributes, true) . ">$label</a>";
     }
 }