diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl
index 533b09abd71f7bebeb7602906a053d10bf85b907..4d14262a1f6b7e923567b8ebc358c15a77c958e2 100644
--- a/src/core/xsl/entity.xsl
+++ b/src/core/xsl/entity.xsl
@@ -52,7 +52,7 @@
   <xsl:template match="@id" mode="backreference-link">
     <a class="caosdb-backref-link btn caosdb-id-button" title="Find all entities which reference this one.">
       <xsl:attribute name="href">
-        <xsl:value-of select="concat($entitypath, '?P=0L10&amp;query=FIND+Entity+which+references+', current())"/>
+        <xsl:value-of select="concat($entitypath, '?P=0L10&amp;query=FIND+Entity+which+references+%22', current(), '%22')"/>
       </xsl:attribute>
       <span class="bg-dark badge d-none d-sm-inline">
         <i class="bi-link"></i> References