diff --git a/templates/crate/details.html b/templates/crate/details.html
index 34fe8e87d..8bdc9fabc 100644
--- a/templates/crate/details.html
+++ b/templates/crate/details.html
@@ -69,7 +69,7 @@
{# If the repo link is for github or gitlab, show some stats #}
{# TODO: add support for hosts besides github and gitlab (#35) #}
{%- if let Some(repository_metadata) = details.repository_metadata -%}
- {{ "code-branch"|fab(false, false, "") }}
+ {{ "code-branch"|fab(false, false, "")|safe }}
{% if let Some(name) = repository_metadata.name %}
{{name}}
{% else %}